OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | # |
2 | # Copyright (C) 2014 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:=libroxml |
||
11 | PKG_VERSION:=2.3.0 |
||
12 | PKG_RELEASE:=3 |
||
13 | |||
14 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
||
15 | PKG_SOURCE_URL:=http://download.libroxml.net/pool/v2.x |
||
16 | PKG_HASH:=1da8f20b530eba4409f2b217587d2f1281ff5d9ba45b24aeac71b94c6c621b78 |
||
17 | PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name> |
||
18 | |||
19 | PKG_INSTALL:=1 |
||
20 | PKG_BUILD_PARALLEL:=1 |
||
21 | PKG_LICENSE:=LGPL-2.1+ |
||
22 | |||
23 | include $(INCLUDE_DIR)/package.mk |
||
24 | |||
25 | define Package/libroxml |
||
26 | SECTION:=libs |
||
27 | CATEGORY:=Libraries |
||
28 | TITLE:=Minimum, easy-to-use, C implementation for xml file parsing |
||
29 | URL:=http://www.libroxml.net/ |
||
30 | ABI_VERSION:=0 |
||
31 | endef |
||
32 | |||
33 | CONFIGURE_ARGS += \ |
||
34 | --enable-shared \ |
||
35 | --enable-static \ |
||
36 | --disable-roxml |
||
37 | |||
38 | define Build/InstallDev |
||
39 | $(INSTALL_DIR) $(1) |
||
40 | $(CP) $(PKG_INSTALL_DIR)/* $(1)/ |
||
41 | endef |
||
42 | |||
43 | define Package/libroxml/install |
||
44 | $(INSTALL_DIR) $(1)/usr/lib |
||
45 | $(CP) $(PKG_INSTALL_DIR)/usr/lib/libroxml.so.* $(1)/usr/lib/ |
||
46 | endef |
||
47 | |||
48 | $(eval $(call BuildPackage,libroxml)) |