blob: 831c487e5deaeabf705ddb60913226ffc865f1aa (
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
33
34
35
36
|
#!/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
}
check() {
make check
}
package() {
make DESTDIR="$PKG_DEST" install
}
|