wok annotate raptor/receipt @ rev 11932

lxpanel: Patch cpu plugin to get monochrome style
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 01 02:13:36 2012 +0100 (2012-03-01)
parents c3d5ab7d3a74
children 3b81e35aa0a9
rev   line source
slaxemulator@6804 1 # SliTaz package receipt.
slaxemulator@6804 2
slaxemulator@6804 3 PACKAGE="raptor"
slaxemulator@6804 4 VERSION="1.4.21"
slaxemulator@6804 5 CATEGORY="multimedia"
slaxemulator@6804 6 MAINTAINER="jozee@slitaz.org"
slaxemulator@6804 7 SHORT_DESC="A C library that parses RDF/XML/N-Triples into RDF triples"
slaxemulator@6804 8 WEB_SITE="http://librdf.org/raptor"
slaxemulator@6804 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@6804 10 WGET_URL="http://librdf.org/dist/source/$TARBALL"
slaxemulator@6804 11
slaxemulator@10339 12 DEPENDS="libxml2 curl zlib openssl libxslt"
erjo@11473 13 BUILD_DEPENDS="libxml2-dev curl-dev zlib-dev openssl-dev libxslt-dev libidn-dev"
slaxemulator@10339 14
slaxemulator@6804 15 # Rules to configure and make the package.
slaxemulator@6804 16
slaxemulator@6804 17 compile_rules() {
slaxemulator@6804 18 cd $src
gokhlayeh@11440 19 # fix build with curl >= 7.21.2
gokhlayeh@11440 20 sed -i '/#include <curl\/types.h>/d' src/raptor_internal.h
slaxemulator@10339 21 ./configure --disable-static $CONFIGURE_ARGS &&
slaxemulator@10339 22 make && make prefix=/usr install
slaxemulator@6804 23 }
slaxemulator@6804 24
slaxemulator@6804 25 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6804 26 genpkg_rules()
slaxemulator@6804 27 {
erjo@11473 28 mkdir -p $fs/usr/lib $fs/usr/bin
erjo@11473 29 cp -a $_pkg/usr/bin/rapper $fs/usr/bin
slaxemulator@6804 30 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
slaxemulator@6804 31 }