wok-next annotate raptor/receipt @ rev 6804

Added raptor.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Oct 19 05:03:37 2010 +0000 (2010-10-19)
parents
children b137ba93894d
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 BUILD_DEPENDS=" libxml2-dev curl-dev zlib-dev openssl-dev libxslt-dev "
slaxemulator@6804 9 WEB_SITE="http://librdf.org/raptor"
slaxemulator@6804 10 DEPENDS="libxml2 curl zlib openssl libxslt"
slaxemulator@6804 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@6804 12 WGET_URL="http://librdf.org/dist/source/$TARBALL"
slaxemulator@6804 13
slaxemulator@6804 14 # Rules to configure and make the package.
slaxemulator@6804 15
slaxemulator@6804 16 compile_rules() {
slaxemulator@6804 17 cd $src
slaxemulator@6804 18 ./configure --prefix=/usr --disable-static &&
slaxemulator@6804 19 make &&
slaxemulator@6804 20 make prefix=$PWD/_pkg/usr install
slaxemulator@6804 21 }
slaxemulator@6804 22
slaxemulator@6804 23 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6804 24 genpkg_rules()
slaxemulator@6804 25 {
slaxemulator@6804 26 mkdir -p $fs/usr/lib
slaxemulator@6804 27 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@6804 28 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
slaxemulator@6804 29 }