wok-6.x view ladspa/receipt @ rev 11314

Up: audacious (3.1), add: mpg123-dev, fix: add mp3 and aac decoders
author Alexander Medvedev <devl547@gmail.com>
date Wed Nov 16 05:53:53 2011 +0000 (2011-11-16)
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 }