2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
6 include $(TOPDIR
)/rules.mk
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
13 PKG_SOURCE_URL
:=@SF
/expat \
14 https
://github.com
/libexpat
/libexpat
/releases
/download
/R_
$(subst .
,_
,$(PKG_VERSION
))
15 PKG_HASH
:=ef2420f0232c087801abf705e89ae65f6257df6b7931d37846a193ef2e8cdcbe
17 PKG_MAINTAINER
:=Ted Hess
<thess@kitschensync.net
>
19 PKG_LICENSE_FILES
:=COPYING
20 PKG_CPE_ID
:=cpe
:/a
:libexpat
:expat
24 include $(INCLUDE_DIR
)/package.mk
25 include $(INCLUDE_DIR
)/cmake.mk
27 define Package
/libexpat
30 TITLE
:=An XML parsing library
31 URL
:=https
://libexpat.github.io
/
34 define Package
/libexpat
/description
35 A fast
, non-validating
, stream-oriented XML parsing library.
39 -DDOCBOOK_TO_MAN
=OFF \
40 -DEXPAT_BUILD_TOOLS
=OFF \
41 -DEXPAT_BUILD_EXAMPLES
=OFF \
42 -DEXPAT_BUILD_TESTS
=OFF \
43 -DEXPAT_BUILD_DOCS
=OFF \
44 -DEXPAT_WITH_LIBBSD
=OFF \
45 -DEXPAT_ENABLE_INSTALL
=ON \
48 -DEXPAT_DEV_URANDOM
=OFF
50 define Package
/libexpat
/install
51 $(INSTALL_DIR
) $(1)/usr
/lib
52 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libexpat.so.
* $(1)/usr
/lib
/
55 $(eval
$(call BuildPackage
,libexpat
))