mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-26 02:23:10 +02:00
new package: nanonote-data-files
This commit is contained in:
parent
b36c84bd76
commit
47618a2d6e
@ -27,6 +27,11 @@ define Package/nanonote-base-files
|
|||||||
TITLE+=(Base Files)
|
TITLE+=(Base Files)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/nanonote-data-files
|
||||||
|
$(call Package/nanonote-files/Default)
|
||||||
|
TITLE+=(Date Files)
|
||||||
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -42,6 +47,18 @@ define Package/nanonote-base-files/install
|
|||||||
$(CP) ./base-files/* $(1)/
|
$(CP) ./base-files/* $(1)/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/nanonote-data-files/install
|
||||||
|
$(INSTALL_DIR) $(1)/usr/share/nanonote/
|
||||||
|
$(CP) ./data/qi_lb60/* $(1)/usr/share/nanonote/
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/nanonote-data-files/postinst
|
||||||
|
#! /bin/sh
|
||||||
|
mv -f $${IPKG_INSTROOT}/usr/share/nanonote/files/etc/* $${IPKG_INSTROOT}/etc/
|
||||||
|
endef
|
||||||
|
|
||||||
|
|
||||||
$(eval $(call BuildPackage,nanonote-example-files))
|
$(eval $(call BuildPackage,nanonote-example-files))
|
||||||
$(eval $(call BuildPackage,nanonote-script-files))
|
$(eval $(call BuildPackage,nanonote-script-files))
|
||||||
$(eval $(call BuildPackage,nanonote-base-files))
|
$(eval $(call BuildPackage,nanonote-base-files))
|
||||||
|
$(eval $(call BuildPackage,nanonote-data-files))
|
||||||
|
Loading…
Reference in New Issue
Block a user