summaryrefslogtreecommitdiff
path: root/system/libxslt/APKBUILD
blob: 1db907710b358f844ea6ffaee8e9e2a0fd157628 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxslt
pkgver=1.1.37
pkgrel=0
pkgdesc="XML stylesheet transformation library"
url="https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home"
arch="all"
license="MIT"
depends=""
checkdepends="py3-libxml2"
makedepends="libxml2-dev libgcrypt-dev libgpg-error-dev python3-dev"
subpackages="$pkgname-doc $pkgname-dev"
source="https://download.gnome.org/sources/libxslt/${pkgver%.*}/libxslt-$pkgver.tar.xz"

# secfixes:
#   1.1.35-r0:
#     - CVE-2021-30560
#   1.1.33-r2:
#     - CVE-2019-13117
#     - CVE-2019-13118
#   1.1.33-r1:
#     - CVE-2019-11068
#   1.1.29-r1:
#     - CVE-2017-5029

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

check() {
	make check
}

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

sha512sums="a4e477d2bb918b7d01945e2c7491c3a4aae799dc1602bbd13de55c8a5052e210a20bc45115347eae44473c8b1d03dbc5e4a2aa18c2218f1fdfd376d87cd501ca  libxslt-1.1.37.tar.xz"