2 # Copyright (C) 2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://download.libroxml.net/pool/v2.x
17 PKG_MD5SUM:=a975f91be150f7a19168a45ce15769ca
18 PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
21 PKG_LICENSE_FILES:=License.txt
25 PKG_LICENSE:=LGPL-2.1+
27 include $(INCLUDE_DIR)/package.mk
29 define Package/libroxml
32 TITLE:=Minimum, easy-to-use, C implementation for xml file parsing
33 URL:=http://www.libroxml.net/
41 define Build/InstallDev
43 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
46 define Package/libroxml/install
47 $(INSTALL_DIR) $(1)/usr/lib
48 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libroxml.so.* $(1)/usr/lib/
51 $(eval $(call BuildPackage,libroxml))