wok-4.x annotate ladspa/receipt @ rev 12070

transmission: fix bdeps
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 09 03:35:40 2012 +0100 (2012-03-09)
parents
children
rev   line source
slaxemulator@6803 1 # SliTaz package receipt.
slaxemulator@6803 2
slaxemulator@6803 3 PACKAGE="ladspa"
slaxemulator@6803 4 VERSION="1.13"
slaxemulator@6803 5 CATEGORY="multimedia"
slaxemulator@6803 6 MAINTAINER="jozee@slitaz.org"
slaxemulator@6803 7 SHORT_DESC="Linux Audio Developer's Simple Plugin API (LADSPA)"
slaxemulator@6803 8 BUILD_DEPENDS=""
slaxemulator@6803 9 WEB_SITE="http://www.ladspa.org/"
slaxemulator@6803 10 DEPENDS="gcc-lib-base"
slaxemulator@6803 11 TARBALL="${PACKAGE}_sdk_$VERSION.tgz"
slaxemulator@6803 12 WGET_URL="$WEB_SITE/download/$TARBALL"
slaxemulator@6803 13 TAGS="multimedia"
slaxemulator@6803 14
slaxemulator@6803 15 # Rules to configure and make the package.
slaxemulator@6803 16
slaxemulator@6803 17 compile_rules() {
slaxemulator@6803 18 [ -d $PACKAGE-$VERSION ] || mv ${PACKAGE}_sdk $PACKAGE-$VERSION
slaxemulator@6803 19 cd $src/src
slaxemulator@6803 20 sed -i -e 's/mkdirhier/mkdir -p/' makefile
slaxemulator@6803 21 make targets
slaxemulator@6803 22 make INSTALL_PLUGINS_DIR=$PWD/../_pkg/usr/lib/ladspa/ \
slaxemulator@6803 23 INSTALL_INCLUDE_DIR=$PWD/../_pkg/usr/include/ \
slaxemulator@6803 24 INSTALL_BINARY_DIR=$PWD/../_pkg/usr/bin/ install
slaxemulator@6803 25 }
slaxemulator@6803 26
slaxemulator@6803 27 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6803 28 genpkg_rules()
slaxemulator@6803 29 {
slaxemulator@6803 30 mkdir -p $fs/usr/lib/$PACKAGE
slaxemulator@6803 31 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@6803 32 cp -a $_pkg/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
slaxemulator@6803 33 }