[packages] libconfig: update to 1.4.7

git-svn-id: svn://svn.openwrt.org/openwrt/packages@26943 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
swalker 2011-05-19 01:42:17 +00:00
parent 3ead3de12f
commit 2dfafcdf1d

View File

@ -1,5 +1,5 @@
# #
# Copyright (C) 2008-2010 OpenWrt.org # Copyright (C) 2008-2011 OpenWrt.org
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=libconfig PKG_NAME:=libconfig
PKG_VERSION:=1.4.4 PKG_VERSION:=1.4.7
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.hyperrealm.com/libconfig/ PKG_SOURCE_URL:=http://www.hyperrealm.com/libconfig
PKG_MD5SUM:=3ebfb70dcb0c2ee454cda50fc634f4f2 PKG_MD5SUM:=d57da7a91aadbfd53afedb5c1bade5f4
PKG_FIXUP:=libtool PKG_FIXUP:=libtool
PKG_INSTALL:=1 PKG_INSTALL:=1
@ -30,7 +30,7 @@ endef
define Package/libconfig/description define Package/libconfig/description
Libconfig is a simple library for manipulating structured configuration Libconfig is a simple library for manipulating structured configuration
files. This file format is more compact and more readable than XML. And files. This file format is more compact and more readable than XML. And
unlike XML, it is type-aware, so it is not necessary to do string unlike XML, it is type-aware, so it is not necessary to do string
parsing in application code. parsing in application code.
Libconfig is very compact -- just 38K for the stripped C shared Libconfig is very compact -- just 38K for the stripped C shared
@ -45,11 +45,10 @@ CONFIGURE_ARGS += \
--disable-cxx --disable-cxx
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/ $(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/libconfig.h $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/libconfig.h $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libconfig.{a,so} $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libconfig.{a,so*} $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libconfig.so* $(1)/usr/lib/
endef endef
define Package/libconfig/install define Package/libconfig/install