wok-next annotate liblrdf/receipt @ rev 9857

obconf: fix BUILD_DEPENDS (again)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 16 15:34:53 2011 +0200 (2011-05-16)
parents
children c406bb1d8a76
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 DEPENDS="raptor ladspa"
slaxemulator@6806 10 BUILD_DEPENDS="raptor-dev ladspa-dev pkg-config"
slaxemulator@6806 11 TARBALL="${PACKAGE}-${VERSION}.tar.gz"
slaxemulator@6806 12 WGET_URL="$SF_MIRROR/lrdf/$TARBALL"
slaxemulator@6806 13
slaxemulator@6806 14
slaxemulator@6806 15 # Rules to configure and make the package.
slaxemulator@6806 16
slaxemulator@6806 17 compile_rules() {
slaxemulator@6806 18 cd $src
slaxemulator@6806 19 ./configure --prefix=/usr &&
slaxemulator@6806 20 make &&
slaxemulator@6806 21 make DESTDIR=$PWD/_pkg install
slaxemulator@6806 22 }
slaxemulator@6806 23
slaxemulator@6806 24 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6806 25 genpkg_rules()
slaxemulator@6806 26 {
slaxemulator@6806 27 mkdir -p $fs/usr/lib $fs/usr/share
slaxemulator@6806 28 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
slaxemulator@6806 29 cp -a $_pkg/usr/share/ladspa $fs/usr/share
slaxemulator@6806 30
slaxemulator@6806 31 }