summaryrefslogtreecommitdiff
path: root/system/libxslt/APKBUILD
blob: 37e85a523867f1fed3019728b593fc4b4a14a204 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxslt
pkgver=1.1.35_pre1
pkgdate=20220112
pkgrel=0
pkgdesc="XML stylesheet transformation library"
url="http://xmlsoft.org/XSLT/"
arch="all"
license="SGI-B-2.0"
depends=""
makedepends="libxml2-dev libgcrypt-dev libgpg-error-dev python3-dev autoconf automake libtool"
subpackages="$pkgname-doc $pkgname-dev"
#source="ftp://xmlsoft.org/$pkgname/$pkgname-$pkgver.tar.gz"
source="https://distfiles.adelielinux.org/source/$pkgname-$pkgver-$pkgdate.tar.gz"

# secfixes:
#   1.1.29-r1:
#     - CVE-2017-5029
#   1.1.33-r1:
#     - CVE-2019-11068
#   1.1.33-r2:
#     - CVE-2019-13117
#     - CVE-2019-13118

builddir="$pkgname-$pkgver-$pkgdate"

build() {
	./autogen.sh \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make -C "$srcdir/$builddir" DESTDIR="$pkgdir" install
}

sha512sums="f34a7a36596b48a2ee0d169bace750a5f5ca5ee1413606a5f23855875d35275bf60269ccb5e92d315639faf3fdf9600964b4c85a3bbbe02ccdc91dcb834e7508  libxslt-1.1.35_pre1-20220112.tar.gz"