1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-26 01:03:08 +02:00

new package: nanonote-data-files

This commit is contained in:
Xiangfu Liu 2011-03-10 18:03:35 +08:00
parent b36c84bd76
commit 47618a2d6e

View File

@ -27,6 +27,11 @@ define Package/nanonote-base-files
TITLE+=(Base Files)
endef
define Package/nanonote-data-files
$(call Package/nanonote-files/Default)
TITLE+=(Date Files)
endef
define Build/Compile
endef
@ -42,6 +47,18 @@ define Package/nanonote-base-files/install
$(CP) ./base-files/* $(1)/
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-script-files))
$(eval $(call BuildPackage,nanonote-base-files))
$(eval $(call BuildPackage,nanonote-data-files))