[package] kernel: fix kmod-gre for Kernel >= 2.6.37 (#9009)
[openwrt.git] / package / libubox / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=libubox
4 PKG_VERSION:=2011-02-11
5 PKG_RELEASE=$(PKG_SOURCE_VERSION)
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:=83037e345dd702f2a013322139ef0b7bab7e170f
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:=
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/libubox.so $(1)/lib/
38 endef
39
40 define Package/libblobmsg-json/install
41 $(INSTALL_DIR) $(1)/lib/
42 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libblobmsg_json.so $(1)/lib/
43 endef
44
45 $(eval $(call BuildPackage,libubox))
46 $(eval $(call BuildPackage,libblobmsg-json))
47
This page took 0.04101 seconds and 5 git commands to generate.