summaryrefslogtreecommitdiff
path: root/repo/raptor2/raptor2.xibuild
blob: b8794605a33b85889789c78d8f4ffee0002e3a82 (plain)
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
#!/bin/sh

NAME="raptor2"
DESC="RDF parser toolkit for Redland"

MAKEDEPS="curl libxml2 libxslt yajl"

PKG_VER=2.0.15
SOURCE="https://download.librdf.org/source/raptor2-$PKG_VER.tar.gz"

ADDITIONAL="
CVE-2017-18926.patch
CVE-2020-25713.patch
"

prepare() {
    apply_patches
}

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

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