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