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>
23 include $(INCLUDE_DIR)/package.mk
25 define Package/libroxml
28 TITLE:=Minimum, easy-to-use, C implementation for xml file parsing
29 URL:=http://www.libroxml.net/
35 --disable-xml-xpath-engine \
38 define Build/InstallDev
40 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
43 define Package/libroxml/install
44 $(INSTALL_DIR) $(1)/usr/lib
45 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libroxml.so.* $(1)/usr/lib/
48 $(eval $(call BuildPackage,libroxml))