Root/nanonote-files/Makefile

Source at commit f74c593b03debf0960ad242eee9700acdbdf7461 created 11 years 11 months ago.
By Xiangfu, nanonote-files: cleanup the file structure. move data/qi_lb60/files to package root
1include $(TOPDIR)/rules.mk
2
3PKG_NAME:=nanonote-files
4PKG_VERSION:=201204
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-base-files
21    $(call Package/nanonote-files/Default)
22    TITLE+=(Base Files)
23endef
24
25define Package/nanonote-data-files
26    $(call Package/nanonote-files/Default)
27    TITLE+=(Date Files)
28endef
29
30define Package/nanonote-gmenu2x-icons
31    $(call Package/nanonote-files/Default)
32    TITLE+=(Gmenu2x Icons)
33endef
34
35define Build/Compile
36endef
37
38define Package/nanonote-example-files/install
39    $(CP) ./example-files/* $(1)/
40endef
41
42define Package/nanonote-base-files/install
43    $(CP) ./base-files/* $(1)/
44endef
45
46define Package/nanonote-data-files/install
47    $(INSTALL_DIR) $(1)/usr/share/nanonote/
48    $(INSTALL_DIR) $(1)/usr/share/nanonote/files/
49
50    $(CP) ./files/* $(1)/usr/share/nanonote/files/
51    $(CP) ./data/qi_lb60/* $(1)/usr/share/nanonote/
52endef
53
54define Package/nanonote-data-files/postinst
55#! /bin/sh
56cp -af $${IPKG_INSTROOT}/usr/share/nanonote/files/* $${IPKG_INSTROOT}/
57endef
58
59define Package/nanonote-gmenu2x-icons/install
60    $(INSTALL_DIR) $(1)/usr/share/gmenu2x
61    $(CP) gmenu2x-icons/gmenu2x/* $(1)/usr/share/gmenu2x/
62endef
63
64$(eval $(call BuildPackage,nanonote-example-files))
65$(eval $(call BuildPackage,nanonote-base-files))
66$(eval $(call BuildPackage,nanonote-data-files))
67$(eval $(call BuildPackage,nanonote-gmenu2x-icons))
68

Archive Download this file



interactive