2010-12-01 12:52:12 +02:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2011-02-03 16:18:34 +02:00
|
|
|
PKG_NAME:=nanonote-files
|
2012-04-09 09:21:55 +03:00
|
|
|
PKG_VERSION:=201204
|
2010-12-01 12:52:12 +02:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2011-02-03 16:18:34 +02:00
|
|
|
define Package/nanonote-files/Default
|
2011-01-17 05:39:00 +02:00
|
|
|
MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc>
|
2011-01-29 05:46:44 +02:00
|
|
|
TITLE:=NanoNote Files
|
2010-12-01 12:52:12 +02:00
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
|
|
|
endef
|
|
|
|
|
2011-01-29 05:46:44 +02:00
|
|
|
define Package/nanonote-example-files
|
|
|
|
$(call Package/nanonote-files/Default)
|
|
|
|
TITLE+=(Example Files)
|
2010-12-01 12:52:12 +02:00
|
|
|
endef
|
|
|
|
|
2011-03-02 02:51:21 +02:00
|
|
|
define Package/nanonote-base-files
|
|
|
|
$(call Package/nanonote-files/Default)
|
|
|
|
TITLE+=(Base Files)
|
|
|
|
endef
|
|
|
|
|
2011-03-10 12:03:35 +02:00
|
|
|
define Package/nanonote-data-files
|
|
|
|
$(call Package/nanonote-files/Default)
|
|
|
|
TITLE+=(Date Files)
|
|
|
|
endef
|
|
|
|
|
2012-04-09 09:30:49 +03:00
|
|
|
define Package/nanonote-gmenu2x-icons
|
|
|
|
$(call Package/nanonote-files/Default)
|
|
|
|
TITLE+=(Gmenu2x Icons)
|
|
|
|
endef
|
|
|
|
|
2010-12-01 12:52:12 +02:00
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/nanonote-example-files/install
|
2011-01-29 05:46:44 +02:00
|
|
|
$(CP) ./example-files/* $(1)/
|
2010-12-01 12:52:12 +02:00
|
|
|
endef
|
|
|
|
|
2011-03-02 02:51:21 +02:00
|
|
|
define Package/nanonote-base-files/install
|
|
|
|
$(CP) ./base-files/* $(1)/
|
|
|
|
endef
|
|
|
|
|
2011-03-10 12:03:35 +02:00
|
|
|
define Package/nanonote-data-files/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/share/nanonote/
|
2012-04-09 09:40:05 +03:00
|
|
|
$(INSTALL_DIR) $(1)/usr/share/nanonote/files/
|
|
|
|
|
|
|
|
$(CP) ./files/* $(1)/usr/share/nanonote/files/
|
2011-03-10 12:03:35 +02:00
|
|
|
$(CP) ./data/qi_lb60/* $(1)/usr/share/nanonote/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/nanonote-data-files/postinst
|
|
|
|
#! /bin/sh
|
2012-04-09 09:21:55 +03:00
|
|
|
cp -af $${IPKG_INSTROOT}/usr/share/nanonote/files/* $${IPKG_INSTROOT}/
|
2011-03-10 12:03:35 +02:00
|
|
|
endef
|
|
|
|
|
2012-04-09 09:30:49 +03:00
|
|
|
define Package/nanonote-gmenu2x-icons/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/share/gmenu2x
|
|
|
|
$(CP) gmenu2x-icons/gmenu2x/* $(1)/usr/share/gmenu2x/
|
|
|
|
endef
|
2011-03-10 12:03:35 +02:00
|
|
|
|
2011-01-17 05:39:00 +02:00
|
|
|
$(eval $(call BuildPackage,nanonote-example-files))
|
2011-03-02 02:51:21 +02:00
|
|
|
$(eval $(call BuildPackage,nanonote-base-files))
|
2011-03-10 12:03:35 +02:00
|
|
|
$(eval $(call BuildPackage,nanonote-data-files))
|
2012-04-09 09:30:49 +03:00
|
|
|
$(eval $(call BuildPackage,nanonote-gmenu2x-icons))
|