1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-29 15:31:53 +02:00
openwrt-packages/nanonote-files/Makefile

65 lines
1.4 KiB
Makefile
Raw Normal View History

include $(TOPDIR)/rules.mk
2011-02-03 16:18:34 +02:00
PKG_NAME:=nanonote-files
2011-11-10 07:09:33 +02:00
PKG_VERSION:=2.0
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>
TITLE:=NanoNote Files
SECTION:=utils
CATEGORY:=Utilities
endef
define Package/nanonote-example-files
$(call Package/nanonote-files/Default)
TITLE+=(Example Files)
endef
2011-02-03 16:18:34 +02:00
define Package/nanonote-script-files
$(call Package/nanonote-files/Default)
TITLE+=(Script Files)
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
define Build/Compile
endef
define Package/nanonote-example-files/install
$(CP) ./example-files/* $(1)/
endef
2011-02-03 16:18:34 +02:00
define Package/nanonote-script-files/install
$(CP) ./script-files/* $(1)/
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/
$(CP) ./data/qi_lb60/* $(1)/usr/share/nanonote/
endef
define Package/nanonote-data-files/postinst
#! /bin/sh
2011-08-26 03:45:21 +03:00
cp -af $${IPKG_INSTROOT}/usr/share/nanonote/files/etc/* $${IPKG_INSTROOT}/etc/
2011-03-10 12:03:35 +02:00
endef
2011-01-17 05:39:00 +02:00
$(eval $(call BuildPackage,nanonote-example-files))
2011-02-03 16:18:34 +02:00
$(eval $(call BuildPackage,nanonote-script-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))