wok-stable view raptor/receipt @ rev 11790
Up: glpi(0.80.7)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Feb 25 00:57:17 2012 +0100 (2012-02-25) |
parents | c3d5ab7d3a74 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="raptor"
4 VERSION="1.4.21"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC="A C library that parses RDF/XML/N-Triples into RDF triples"
8 WEB_SITE="http://librdf.org/raptor"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="http://librdf.org/dist/source/$TARBALL"
12 DEPENDS="libxml2 curl zlib openssl libxslt"
13 BUILD_DEPENDS="libxml2-dev curl-dev zlib-dev openssl-dev libxslt-dev libidn-dev"
15 # Rules to configure and make the package.
17 compile_rules() {
18 cd $src
19 # fix build with curl >= 7.21.2
20 sed -i '/#include <curl\/types.h>/d' src/raptor_internal.h
21 ./configure --disable-static $CONFIGURE_ARGS &&
22 make && make prefix=/usr install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib $fs/usr/bin
29 cp -a $_pkg/usr/bin/rapper $fs/usr/bin
30 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
31 }