2010-12-01 18:52:12 +08:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2011-02-03 22:18:34 +08:00
|
|
|
PKG_NAME:=nanonote-files
|
2011-02-27 00:15:34 +03:00
|
|
|
PKG_VERSION:=1.2
|
2010-12-01 18:52:12 +08:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2011-02-03 22:18:34 +08:00
|
|
|
define Package/nanonote-files/Default
|
2011-01-17 11:39:00 +08:00
|
|
|
MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc>
|
2011-01-29 11:46:44 +08:00
|
|
|
TITLE:=NanoNote Files
|
2010-12-01 18:52:12 +08:00
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
|
|
|
endef
|
|
|
|
|
2011-01-29 11:46:44 +08:00
|
|
|
define Package/nanonote-example-files
|
|
|
|
$(call Package/nanonote-files/Default)
|
|
|
|
TITLE+=(Example Files)
|
2010-12-01 18:52:12 +08:00
|
|
|
endef
|
|
|
|
|
2011-02-03 22:18:34 +08:00
|
|
|
define Package/nanonote-script-files
|
|
|
|
$(call Package/nanonote-files/Default)
|
|
|
|
TITLE+=(Script Files)
|
|
|
|
endef
|
|
|
|
|
2011-03-02 08:51:21 +08:00
|
|
|
define Package/nanonote-base-files
|
|
|
|
$(call Package/nanonote-files/Default)
|
|
|
|
TITLE+=(Base Files)
|
|
|
|
endef
|
|
|
|
|
2011-03-10 18:03:35 +08:00
|
|
|
define Package/nanonote-data-files
|
|
|
|
$(call Package/nanonote-files/Default)
|
|
|
|
TITLE+=(Date Files)
|
|
|
|
endef
|
|
|
|
|
2010-12-01 18:52:12 +08:00
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/nanonote-example-files/install
|
2011-01-29 11:46:44 +08:00
|
|
|
$(CP) ./example-files/* $(1)/
|
2010-12-01 18:52:12 +08:00
|
|
|
endef
|
|
|
|
|
2011-02-03 22:18:34 +08:00
|
|
|
define Package/nanonote-script-files/install
|
|
|
|
$(CP) ./script-files/* $(1)/
|
|
|
|
endef
|
|
|
|
|
2011-03-02 08:51:21 +08:00
|
|
|
define Package/nanonote-base-files/install
|
|
|
|
$(CP) ./base-files/* $(1)/
|
|
|
|
endef
|
|
|
|
|
2011-03-10 18:03:35 +08:00
|
|
|
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
|
|
|
|
|
|
|
|
|
2011-01-17 11:39:00 +08:00
|
|
|
$(eval $(call BuildPackage,nanonote-example-files))
|
2011-02-03 22:18:34 +08:00
|
|
|
$(eval $(call BuildPackage,nanonote-script-files))
|
2011-03-02 08:51:21 +08:00
|
|
|
$(eval $(call BuildPackage,nanonote-base-files))
|
2011-03-10 18:03:35 +08:00
|
|
|
$(eval $(call BuildPackage,nanonote-data-files))
|