wok-6.x view ladspa/receipt @ rev 12490
gparted: fix bdeps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 24 11:37:50 2012 +0200 (2012-04-24) |
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 }