Root/nanonote-files/Makefile

1include $(TOPDIR)/rules.mk
2
3PKG_NAME:=nanonote-files
4PKG_VERSION:=1.3
5
6include $(INCLUDE_DIR)/package.mk
7
8define Package/nanonote-files/Default
9    MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc>
10    TITLE:=NanoNote Files
11    SECTION:=utils
12    CATEGORY:=Utilities
13endef
14
15define Package/nanonote-example-files
16    $(call Package/nanonote-files/Default)
17    TITLE+=(Example Files)
18endef
19
20define Package/nanonote-script-files
21    $(call Package/nanonote-files/Default)
22    TITLE+=(Script Files)
23endef
24
25define Package/nanonote-base-files
26    $(call Package/nanonote-files/Default)
27    TITLE+=(Base Files)
28endef
29
30define Package/nanonote-data-files
31    $(call Package/nanonote-files/Default)
32    TITLE+=(Date Files)
33endef
34
35define Build/Compile
36endef
37
38define Package/nanonote-example-files/install
39    $(CP) ./example-files/* $(1)/
40endef
41
42define Package/nanonote-script-files/install
43    $(CP) ./script-files/* $(1)/
44endef
45
46define Package/nanonote-base-files/install
47    $(CP) ./base-files/* $(1)/
48endef
49
50define Package/nanonote-data-files/install
51    $(INSTALL_DIR) $(1)/usr/share/nanonote/
52    $(CP) ./data/qi_lb60/* $(1)/usr/share/nanonote/
53endef
54
55define Package/nanonote-data-files/postinst
56#! /bin/sh
57cp -af $${IPKG_INSTROOT}/usr/share/nanonote/files/etc/* $${IPKG_INSTROOT}/etc/
58endef
59
60
61$(eval $(call BuildPackage,nanonote-example-files))
62$(eval $(call BuildPackage,nanonote-script-files))
63$(eval $(call BuildPackage,nanonote-base-files))
64$(eval $(call BuildPackage,nanonote-data-files))
65

Archive Download this file



interactive