34 lines
790 B
Plaintext
34 lines
790 B
Plaintext
# Description: A C library that parses RDF/XML/N-Triples into RDF triples
|
|
# URL: http://librdf.org/raptor
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: icu libxslt
|
|
|
|
name=raptor
|
|
version=2.0.16
|
|
release=2
|
|
source=(http://librdf.org/dist/source/raptor2-$version.tar.gz
|
|
libxml-2.11.0.patch
|
|
libtool.patch
|
|
rpath.patch
|
|
xml2-config.patch)
|
|
|
|
build() {
|
|
cd "$name"2-$version
|
|
|
|
patch -Np0 -i $SRC/libtool.patch
|
|
patch -Np0 -i $SRC/rpath.patch
|
|
patch -Np0 -i $SRC/xml2-config.patch
|
|
patch -Np1 -i $SRC/libxml-2.11.0.patch
|
|
|
|
./configure --prefix=/usr \
|
|
--with-yajl=no \
|
|
--with-icu-config=/usr/bin/icu-config \
|
|
--disable-static
|
|
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
make
|
|
make prefix="$PKG"/usr install
|
|
|
|
rm -r $PKG/usr/share/gtk-doc
|
|
}
|