APKBUILD 841 Bytes
Newer Older
1
2
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=expat
A. Wilcox's avatar
A. Wilcox committed
3
4
pkgver=2.2.9
pkgrel=0
A. Wilcox's avatar
A. Wilcox committed
5
pkgdesc="XML parser library written in C"
6
7
8
url="https://libexpat.github.io/"
arch="all"
license="MIT"
A. Wilcox's avatar
A. Wilcox committed
9
depends=""
10
checkdepends="bash"
A. Wilcox's avatar
A. Wilcox committed
11
makedepends=""
12
subpackages="$pkgname-dev $pkgname-doc"
A. Wilcox's avatar
A. Wilcox committed
13
source="https://downloads.sourceforge.net/project/expat/expat/$pkgver/expat-$pkgver.tar.bz2"
14
15

# secfixes:
A. Wilcox's avatar
A. Wilcox committed
16
17
#   2.2.1-r0:
#     - CVE-2016-9063
18
19
#   2.2.0-r1:
#     - CVE-2017-9233
20
21
#   2.2.7-r1:
#     - CVE-2019-15903
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir/" install
}

A. Wilcox's avatar
A. Wilcox committed
40
sha512sums="8ea4b89a171dfda8267c8b7a0295516d169bf7f46587ebe460fe0ae7a31478a119ae2a7eaa09b3ce46b107ec7cd2274ea66d91c08b8a4ad6b98ba984cdd4e15b  expat-2.2.9.tar.bz2"