diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-18 05:35:28 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-18 05:35:28 -0500 |
commit | c497071652657198af26b74cf80e24329c02b9fb (patch) | |
tree | 51fbf11e0f449c6739fe64a1f52eeb7abd43ad6c /system/expat | |
parent | 85c984a39400e380dcafd6e38e8809a710ffbfdc (diff) | |
download | packages-c497071652657198af26b74cf80e24329c02b9fb.tar.gz packages-c497071652657198af26b74cf80e24329c02b9fb.tar.bz2 packages-c497071652657198af26b74cf80e24329c02b9fb.tar.xz packages-c497071652657198af26b74cf80e24329c02b9fb.zip |
system/expat: pull in for libarchive
Diffstat (limited to 'system/expat')
-rw-r--r-- | system/expat/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
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 <awilfox@adelielinux.org> +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" |