Add more license tags with SPDX identifiers
[openwrt/staging/mkresin.git] / package / libs / libroxml / Makefile
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:=2
13
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>
19
20 KG_LICENSE:=LGPL-2.1+
21 PKG_LICENSE_FILES:=License.txt
22
23 PKG_INSTALL:=1
24 PKG_BUILD_PARALLEL:=1
25 PKG_LICENSE:=LGPL-2.1+
26
27 include $(INCLUDE_DIR)/package.mk
28
29 define Package/libroxml
30 SECTION:=libs
31 CATEGORY:=Libraries
32 TITLE:=Minimum, easy-to-use, C implementation for xml file parsing
33 URL:=http://www.libroxml.net/
34 endef
35
36 CONFIGURE_ARGS += \
37 --enable-shared \
38 --enable-static \
39 --disable-roxml
40
41 define Build/InstallDev
42 $(INSTALL_DIR) $(1)
43 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
44 endef
45
46 define Package/libroxml/install
47 $(INSTALL_DIR) $(1)/usr/lib
48 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libroxml.so.* $(1)/usr/lib/
49 endef
50
51 $(eval $(call BuildPackage,libroxml))