summaryrefslogtreecommitdiff
path: root/system/libxslt/APKBUILD
blob: 59f93a389779bfc311a2748df64f713d3f9f02b7 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxslt
pkgver=1.1.35
pkgrel=0
pkgdesc="XML stylesheet transformation library"
url="https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home"
arch="all"
license="MIT"
depends=""
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="9dd4a699235f50ae9b75b25137e387471635b4b2da0a4e4380879cd49f1513470fcfbfd775269b066eac513a1ffa6860c77ec42747168e2348248f09f60c8c96  libxslt-1.1.35.tar.xz"