wok-next view raptor/receipt @ rev 12725

fox14: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 05 13:03:47 2012 +0200 (2012-05-05)
parents c3d5ab7d3a74
children 3b81e35aa0a9
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 }