wok view ladspa/receipt @ rev 7706

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