OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
1 | include $(TOPDIR)/rules.mk |
2 | |
3 | PKG_NAME:=nanonote-files |
4 | PKG_VERSION:=201204 |
5 | |
6 | include $(INCLUDE_DIR)/package.mk |
7 | |
8 | define Package/nanonote-files/Default |
9 | MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc> |
10 | TITLE:=NanoNote Files |
11 | SECTION:=utils |
12 | CATEGORY:=Utilities |
13 | endef |
14 | |
15 | define Package/nanonote-example-files |
16 | $(call Package/nanonote-files/Default) |
17 | TITLE+=(Example Files) |
18 | endef |
19 | |
20 | define Package/nanonote-base-files |
21 | $(call Package/nanonote-files/Default) |
22 | TITLE+=(Base Files) |
23 | endef |
24 | |
25 | define Package/nanonote-data-files |
26 | $(call Package/nanonote-files/Default) |
27 | TITLE+=(Date Files) |
28 | endef |
29 | |
30 | define Package/nanonote-gmenu2x-icons |
31 | $(call Package/nanonote-files/Default) |
32 | TITLE+=(Gmenu2x Icons) |
33 | endef |
34 | |
35 | define Build/Compile |
36 | endef |
37 | |
38 | define Package/nanonote-example-files/install |
39 | $(CP) ./example-files/* $(1)/ |
40 | endef |
41 | |
42 | define Package/nanonote-base-files/install |
43 | $(CP) ./base-files/* $(1)/ |
44 | endef |
45 | |
46 | define 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/ |
52 | endef |
53 | |
54 | define Package/nanonote-data-files/postinst |
55 | #! /bin/sh |
56 | cp -af $${IPKG_INSTROOT}/usr/share/nanonote/files/* $${IPKG_INSTROOT}/ |
57 | endef |
58 | |
59 | define Package/nanonote-gmenu2x-icons/install |
60 | $(INSTALL_DIR) $(1)/usr/share/gmenu2x |
61 | $(CP) gmenu2x-icons/gmenu2x/* $(1)/usr/share/gmenu2x/ |
62 | endef |
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 |