From 47618a2d6e40c9d463a7ce24d69e48b8fb171a1f Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Thu, 10 Mar 2011 18:03:35 +0800 Subject: [PATCH] new package: nanonote-data-files --- nanonote-files/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/nanonote-files/Makefile b/nanonote-files/Makefile index 20de5da..c69a1f7 100644 --- a/nanonote-files/Makefile +++ b/nanonote-files/Makefile @@ -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))