OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Only display areas with differencesIgnore whitespace
Rev 2 Rev 3
1 # 1 #
2 # Copyright (C) 2008-2012 OpenWrt.org 2 # Copyright (C) 2008-2012 OpenWrt.org
3 # 3 #
4 # This is free software, licensed under the GNU General Public License v2. 4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information. 5 # See /LICENSE for more information.
6 # 6 #
7   7  
8 include $(TOPDIR)/rules.mk 8 include $(TOPDIR)/rules.mk
9   9  
10 PKG_NAME:=libconfig 10 PKG_NAME:=libconfig
11 PKG_VERSION:=1.7.2 11 PKG_VERSION:=1.5
12 PKG_RELEASE:=2 12 PKG_RELEASE:=1
13   13  
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://hyperrealm.github.io/libconfig/dist/ 15 PKG_SOURCE_URL:=http://www.hyperrealm.com/libconfig
16 PKG_HASH:=7c3c7a9c73ff3302084386e96f903eb62ce06953bb1666235fac74363a16fad9 16 PKG_HASH:=e31daa390d8e4461c8830512fe2e13ba1a3d6a02a2305a02429eec61e68703f6
17   17  
18 PKG_FIXUP:=autoreconf 18 PKG_FIXUP:=autoreconf
19 PKG_INSTALL:=1 19 PKG_INSTALL:=1
20   20  
21 PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name> 21 PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
22 PKG_LICENSE:=LGPL-2.1+ 22 PKG_LICENSE:=LGPL-2.1+
23   23  
24 include $(INCLUDE_DIR)/package.mk 24 include $(INCLUDE_DIR)/package.mk
25   25  
26 define Package/libconfig 26 define Package/libconfig
27 SECTION:=libs 27 SECTION:=libs
28 CATEGORY:=Libraries 28 CATEGORY:=Libraries
29 TITLE:=Configuration File Library 29 TITLE:=Configuration File Library
30 URL:=http://www.hyperrealm.com/libconfig/ 30 URL:=http://www.hyperrealm.com/libconfig/
31 ABI_VERSION:=11 -  
32 endef 31 endef
33   32  
34 define Package/libconfig/description 33 define Package/libconfig/description
35 Libconfig is a simple library for manipulating structured configuration 34 Libconfig is a simple library for manipulating structured configuration
36 files. This file format is more compact and more readable than XML. And 35 files. This file format is more compact and more readable than XML. And
37 unlike XML, it is type-aware, so it is not necessary to do string 36 unlike XML, it is type-aware, so it is not necessary to do string
38 parsing in application code. 37 parsing in application code.
39   38  
40 Libconfig is very compact -- just 38K for the stripped C shared 39 Libconfig is very compact -- just 38K for the stripped C shared
41 library (less than one-fourth the size of the expat XML parser library) 40 library (less than one-fourth the size of the expat XML parser library)
42 and 66K for the stripped C++ shared library. This makes it well-suited 41 and 66K for the stripped C++ shared library. This makes it well-suited
43 for memory-constrained systems like handheld devices. 42 for memory-constrained systems like handheld devices.
44 endef 43 endef
45   44  
46 CONFIGURE_ARGS += \ 45 CONFIGURE_ARGS += \
47 --enable-shared \ 46 --enable-shared \
48 --disable-static \ 47 --disable-static \
49 --disable-cxx 48 --disable-cxx
50   49  
51 define Build/InstallDev 50 define Build/InstallDev
52 $(CP) $(PKG_INSTALL_DIR)/* $(1)/ 51 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
53 endef 52 endef
54   53  
55 define Package/libconfig/install 54 define Package/libconfig/install
56 $(INSTALL_DIR) $(1)/usr/lib 55 $(INSTALL_DIR) $(1)/usr/lib
57 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libconfig.so.* $(1)/usr/lib/ 56 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libconfig.so* $(1)/usr/lib/
58 endef 57 endef
59   58  
60 $(eval $(call BuildPackage,libconfig)) 59 $(eval $(call BuildPackage,libconfig))
61   60