wok-stable view ladspa/receipt @ rev 12460
fix symlinks
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 28 09:09:24 2017 +0200 (2017-04-28) |
parents | |
children |
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 }