OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
Source at commit 1b3135c created 12 years 5 months 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:=picoc |
4 | PKG_VERSION:=1.0 |
5 | PKG_RELEASE:=1 |
6 | |
7 | PKG_SOURCE:=picoc-$(PKG_VERSION).tar.bz2 |
8 | PKG_SOURCE_URL:=http://picoc.googlecode.com/files |
9 | PKG_MD5SUM:=7af179f5f9351228df8a34ed7add436a |
10 | PKG_CAT:=bzip2 -cd |
11 | |
12 | PKG_BUILD_DIR:=$(BUILD_DIR)/picoc-$(PKG_VERSION) |
13 | |
14 | include $(INCLUDE_DIR)/package.mk |
15 | |
16 | define Package/picoc |
17 | SECTION:=utils |
18 | CATEGORY:=Utilities |
19 | TITLE:=PicoC |
20 | URL:=http://code.google.com/p/picoc/ |
21 | #DEPENDS:= +libreadline |
22 | endef |
23 | |
24 | define Package/picoc/description |
25 | Simple C interpreter. |
26 | endef |
27 | |
28 | define Build/Configure |
29 | $(call Build/Compile/Default) |
30 | endef |
31 | |
32 | |
33 | define Package/picoc/install |
34 | $(INSTALL_DIR) $(1)/usr/bin/ |
35 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/picoc $(1)/usr/bin/ |
36 | $(INSTALL_DIR) $(1)/usr/share/picoc/ |
37 | $(INSTALL_DIR) $(1)/usr/share/picoc/tests/ |
38 | $(INSTALL_DATA) $(PKG_BUILD_DIR)/tests/* $(1)/usr/share/picoc/tests/ |
39 | $(INSTALL_DATA) $(PKG_BUILD_DIR)/README $(1)/usr/share/picoc/ |
40 | endef |
41 | |
42 | $(eval $(call BuildPackage,picoc)) |
43 |