[package] ppp: prevent duplicate hotplug for non uci managed ppp interfaces (#9275)
[openwrt.git] / package / libubox / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=libubox
4 PKG_VERSION:=2011-03-27
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:=89122a2c1e7f891c3ae2e8ed562d0df562d8a0f6
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
12 PKG_MIRROR_MD5SUM:=5472edf27903eb4b606c88fa4d9a24b4
13 CMAKE_INSTALL:=1
14
15 include $(INCLUDE_DIR)/package.mk
16 include $(INCLUDE_DIR)/cmake.mk
17
18 define Package/libubox
19 SECTION:=libs
20 CATEGORY:=Libraries
21 TITLE:=Basic utility library
22 DEPENDS:=
23 endef
24
25
26 define Package/libblobmsg-json
27 SECTION:=libs
28 CATEGORY:=Libraries
29 TITLE:=blobmsg <-> json conversion library
30 DEPENDS:=+libjson
31 endef
32
33
34 TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
35
36 define Package/libubox/install
37 $(INSTALL_DIR) $(1)/lib/
38 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libubox.so $(1)/lib/
39 endef
40
41 define Package/libblobmsg-json/install
42 $(INSTALL_DIR) $(1)/lib/
43 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libblobmsg_json.so $(1)/lib/
44 endef
45
46 $(eval $(call BuildPackage,libubox))
47 $(eval $(call BuildPackage,libblobmsg-json))
48
This page took 0.069631 seconds and 5 git commands to generate.