[realview] switch to 2.6.37
[openwrt.git] / package / libubox / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=libubox
4 PKG_VERSION:=2010-02-07
5 PKG_RELEASE:=1
6
7 PKG_SOURCE_PROTO:=git
8 PKG_SOURCE_URL:=git://nbd.name/luci2/libubox.git
9 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
10 PKG_SOURCE_VERSION:=e44dbfb1029829dbd6c5e1ca11e461d9a89027b9
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
12 CMAKE_INSTALL:=1
13
14 include $(INCLUDE_DIR)/package.mk
15 include $(INCLUDE_DIR)/cmake.mk
16
17 define Package/libubox
18 SECTION:=libs
19 CATEGORY:=Libraries
20 TITLE:=Basic utility library
21 DEPENDS:=+libjson
22 endef
23
24
25 define Package/libblobmsg-json
26 SECTION:=libs
27 CATEGORY:=Libraries
28 TITLE:=blobmsg <-> json conversion library
29 DEPENDS:=+libjson
30 endef
31
32
33 TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
34
35 define Package/libubox/install
36 $(INSTALL_DIR) $(1)/lib/
37 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/*.so $(1)/lib/
38 endef
39
40 $(eval $(call BuildPackage,libubox))
41
This page took 0.039693 seconds and 5 git commands to generate.