wok-6.x annotate raptor/receipt @ rev 16742

Up slitaz-boot-scripts (5.6.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 10 10:35:54 2014 +0200 (2014-06-10)
parents 61cb21c88190
children f9582ed2e6bd
rev   line source
slaxemulator@6804 1 # SliTaz package receipt.
slaxemulator@6804 2
slaxemulator@6804 3 PACKAGE="raptor"
slaxemulator@13125 4 VERSION="2.0.8"
slaxemulator@6804 5 CATEGORY="multimedia"
slaxemulator@6804 6 MAINTAINER="jozee@slitaz.org"
pascal@15001 7 LICENSE="GPL2"
slaxemulator@6804 8 SHORT_DESC="A C library that parses RDF/XML/N-Triples into RDF triples"
slaxemulator@6804 9 WEB_SITE="http://librdf.org/raptor"
slaxemulator@13103 10 SOURCE="raptor2"
slaxemulator@13103 11 TARBALL="$SOURCE-$VERSION.tar.gz"
slaxemulator@6804 12 WGET_URL="http://librdf.org/dist/source/$TARBALL"
slaxemulator@6804 13
slaxemulator@10339 14 DEPENDS="libxml2 curl zlib openssl libxslt"
erjo@11473 15 BUILD_DEPENDS="libxml2-dev curl-dev zlib-dev openssl-dev libxslt-dev libidn-dev"
slaxemulator@10339 16
slaxemulator@6804 17 # Rules to configure and make the package.
slaxemulator@13103 18 compile_rules()
slaxemulator@13103 19 {
slaxemulator@13103 20 cd $src
slaxemulator@13103 21 ./configure --disable-static --with-yajl=no $CONFIGURE_ARGS &&
slaxemulator@13103 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
slaxemulator@13103 29 cp -a $install/usr/bin/rapper $fs/usr/bin
slaxemulator@13103 30 cp -a $install/usr/lib/*so* $fs/usr/lib/
slaxemulator@6804 31 }