From c497071652657198af26b74cf80e24329c02b9fb Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 18 Jun 2018 05:35:28 -0500 Subject: system/expat: pull in for libarchive --- system/expat/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 system/expat/APKBUILD (limited to 'system') diff --git a/system/expat/APKBUILD b/system/expat/APKBUILD new file mode 100644 index 000000000..8286b0db9 --- /dev/null +++ b/system/expat/APKBUILD @@ -0,0 +1,38 @@ +# Maintainer: A. Wilcox +pkgname=expat +pkgver=2.2.5 +pkgrel=0 +pkgdesc="An XML Parser library written in C" +url="https://libexpat.github.io/" +arch="all" +license="MIT" +checkdepends="bash" +source="http://downloads.sourceforge.net/project/expat/expat/$pkgver/expat-$pkgver.tar.bz2" +subpackages="$pkgname-dev $pkgname-doc" +builddir="$srcdir/$pkgname-$pkgver" + +# secfixes: +# 2.2.0-r1: +# - CVE-2017-9233 + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir/" install +} + +sha512sums="8226970a7e5d2b8d7818081758ca59bb6ce2d655feaa9d3a92481629000b73fde4782f50343d58ec4e1cebe75649e1980f636775a731d8aa4b55ceb843d9f637 expat-2.2.5.tar.bz2" -- cgit v1.2.3-70-g09d2