wok-next view ladspa/receipt @ rev 20309

Up foo2xqx (20170320)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 10 16:07:36 2017 +0100 (2017-11-10)
parents 2a5cc8208d36
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ladspa"
4 VERSION="1.13"
5 CATEGORY="multimedia"
6 SHORT_DESC="LADSPA: Linux Audio Developer's Simple Plugin API"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.ladspa.org/"
11 TARBALL="ladspa_sdk_$VERSION.tgz"
12 WGET_URL="https://github.com/OpenMandrivaAssociation/ladspa/raw/master/$TARBALL"
14 SPLIT="ladspa-dev"
16 compile_rules() {
17 cd src
18 sed -i \
19 -e 's/mkdirhier/mkdir -p/' \
20 -e "s#-O3#${CFLAGS} ${LDFLAGS/,--as-needed/}#" \
21 makefile
22 make targets &&
23 make INSTALL_PLUGINS_DIR=$DESTDIR/usr/lib/ladspa/ \
24 INSTALL_INCLUDE_DIR=$DESTDIR/usr/include/ \
25 INSTALL_BINARY_DIR=$DESTDIR/usr/bin/ \
26 install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 ladspa)
32 copy @std
33 TAGS="multimedia"
34 ;;
35 *-dev)
36 copy @dev
37 ;;
38 esac
39 }