wok-6.x annotate liblrdf/receipt @ rev 13126

liblrdf: Add patches to support raptor 2.0.x and clean up.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Jul 04 22:13:34 2012 +0000 (2012-07-04)
parents b7319995b37e
children d846aa26e70f
rev   line source
slaxemulator@6806 1 # SliTaz package receipt.
slaxemulator@6806 2
slaxemulator@6806 3 PACKAGE="liblrdf"
slaxemulator@6806 4 VERSION="0.4.0"
slaxemulator@6806 5 CATEGORY="multimedia"
slaxemulator@6806 6 MAINTAINER="jozee@slitaz.org"
slaxemulator@6806 7 SHORT_DESC="A library for the manipulation of RDF file in LADSPA plugins"
slaxemulator@6806 8 WEB_SITE="http://sourceforge.net/projects/lrdf"
slaxemulator@6806 9 TARBALL="${PACKAGE}-${VERSION}.tar.gz"
slaxemulator@6806 10 WGET_URL="$SF_MIRROR/lrdf/$TARBALL"
slaxemulator@6806 11
pankso@9910 12 DEPENDS="raptor ladspa libcurl libxslt"
pankso@9910 13 BUILD_DEPENDS="raptor-dev ladspa-dev curl-dev libxslt-dev"
slaxemulator@6806 14
slaxemulator@6806 15 # Rules to configure and make the package.
slaxemulator@13126 16 compile_rules()
slaxemulator@13126 17 {
slaxemulator@13126 18 cd $src
slaxemulator@13126 19 patch -Np1 -i $stuff/md5.patch
slaxemulator@13126 20 patch -Np0 -i $stuff/raptor2.diff
slaxemulator@13126 21 patch -Np1 -i $stuff/pkgconfig-raptor.patch
slaxemulator@13126 22 autoreconf -vfi
slaxemulator@13126 23 ./configure $CONFIGURE_ARGS && make && make install
slaxemulator@6806 24 }
slaxemulator@6806 25
slaxemulator@6806 26 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6806 27 genpkg_rules()
slaxemulator@6806 28 {
slaxemulator@6806 29 mkdir -p $fs/usr/lib $fs/usr/share
slaxemulator@13126 30 cp -a $install/usr/lib/*so* $fs/usr/lib/
slaxemulator@13126 31 cp -a $install/usr/share/ladspa $fs/usr/share
slaxemulator@6806 32 }