wok view raptor/receipt @ rev 11440
raptor: fix build (thanks godane)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Dec 16 15:42:01 2011 +0100 (2011-12-16) |
parents | 7f4ee0588d9b |
children | 5833170834b0 |
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"
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
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
31 }