Changeset 2366


Ignore:
Timestamp:
Jan 3, 2014, 5:51:55 PM (5 years ago)
Author:
matthijs
Message:

libubox: Update to 2013-12-02 version

This copies the package verbatim from OpenWRT trunk r39167.

This new version links against libjson-c (instead of libjson) so it
works with the updated libjson-c version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/fon/libubox/Makefile

    r2274 r2366  
    22
    33PKG_NAME:=libubox
    4 PKG_VERSION:=2013-01-13
     4PKG_VERSION:=2013-12-02
    55PKG_RELEASE=$(PKG_SOURCE_VERSION)
    66
     
    88PKG_SOURCE_URL:=git://nbd.name/luci2/libubox.git
    99PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
    10 PKG_SOURCE_VERSION:=c360ec576c5a0fe85e6665d07a091264b714a399
     10PKG_SOURCE_VERSION:=318d682d29a8974aa53bd7dc523f1514eb0eddb9
    1111PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
    12 PKG_MIRROR_MD5SUM:=7bae10828309334b6b58cfef86d64be8
     12PKG_MIRROR_MD5SUM:=
    1313CMAKE_INSTALL:=1
    1414
     
    3434  CATEGORY:=Libraries
    3535  TITLE:=blobmsg <-> json conversion library
    36   DEPENDS:=+libjson +libubox
     36  DEPENDS:=+libjson-c +libubox
    3737endef
    3838
     
    4040  SECTION:=utils
    4141  CATEGORY:=Utilities
    42   DEPENDS:=+libjson
     42  DEPENDS:=+libjson-c
    4343  TITLE:=JSON SHell Notation
    4444endef
     
    4646define Package/jshn/description
    4747  Library for parsing and generating JSON from shell scripts
     48endef
     49
     50define Package/libjson-script
     51  SECTION:=utils
     52  CATEGORY:=Utilities
     53  DEPENDS:=+libubox
     54  TITLE:=Minimalistic JSON based scripting engine
     55endef
     56
     57define Package/libubox-lua
     58  SECTION:=libs
     59  CATEGORY:=Libraries
     60  DEPENDS:=+libubox +liblua
     61  TITLE:=Lua binding for the OpenWrt Basic utility library
    4862endef
    4963
     
    6882endef
    6983
     84define Package/libjson-script/install
     85        $(INSTALL_DIR) $(1)/lib/
     86        $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libjson_script.so $(1)/lib/
     87endef
     88
     89define Package/libubox-lua/install
     90        $(INSTALL_DIR) $(1)/usr/lib/lua
     91        $(CP) $(PKG_BUILD_DIR)/lua/uloop.so $(1)/usr/lib/lua/
     92endef
     93
    7094$(eval $(call BuildPackage,libubox))
    7195$(eval $(call BuildPackage,libblobmsg-json))
    7296$(eval $(call BuildPackage,jshn))
    73 
     97$(eval $(call BuildPackage,libjson-script))
     98$(eval $(call BuildPackage,libubox-lua))
Note: See TracChangeset for help on using the changeset viewer.