1 include $(TOPDIR
)/rules.mk
4 PKG_VERSION
:=2010-02-07
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
14 include $(INCLUDE_DIR
)/package.mk
15 include $(INCLUDE_DIR
)/cmake.mk
17 define Package
/libubox
20 TITLE
:=Basic utility library
25 define Package
/libblobmsg-json
28 TITLE
:=blobmsg
<-> json conversion library
33 TARGET_CFLAGS
+= -I
$(STAGING_DIR
)/usr
/include
35 define Package
/libubox
/install
36 $(INSTALL_DIR
) $(1)/lib
/
37 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
$(1)/lib
/
40 $(eval
$(call BuildPackage
,libubox
))