OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
Source at commit 1b3135c created 8 years 1 month ago. By Xiangfu Liu, new package: SDL-widgets: a GUI toolkit on top of the SDL libraries | |
---|---|
1 | include $(TOPDIR)/rules.mk |
2 | |
3 | PKG_NAME:=nanonote-files |
4 | PKG_VERSION:=1.3 |
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-script-files |
21 | $(call Package/nanonote-files/Default) |
22 | TITLE+=(Script Files) |
23 | endef |
24 | |
25 | define Package/nanonote-base-files |
26 | $(call Package/nanonote-files/Default) |
27 | TITLE+=(Base Files) |
28 | endef |
29 | |
30 | define Package/nanonote-data-files |
31 | $(call Package/nanonote-files/Default) |
32 | TITLE+=(Date Files) |
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-script-files/install |
43 | $(CP) ./script-files/* $(1)/ |
44 | endef |
45 | |
46 | define Package/nanonote-base-files/install |
47 | $(CP) ./base-files/* $(1)/ |
48 | endef |
49 | |
50 | define Package/nanonote-data-files/install |
51 | $(INSTALL_DIR) $(1)/usr/share/nanonote/ |
52 | $(CP) ./data/qi_lb60/* $(1)/usr/share/nanonote/ |
53 | endef |
54 | |
55 | define Package/nanonote-data-files/postinst |
56 | #! /bin/sh |
57 | cp -af $${IPKG_INSTROOT}/usr/share/nanonote/files/etc/* $${IPKG_INSTROOT}/etc/ |
58 | endef |
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 |