wok-next view ladspa/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | c37d2f8310e0 |
children |
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="devel@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="$PACKAGE-dev"
16 compile_rules() {
17 cd $src/src
18 sed \
19 -e 's/mkdirhier/mkdir -p/' \
20 -e "s#-O3#$CFLAGS ${LDFLAGS/,--as-needed/}#" \
21 -i makefile
23 make targets &&
24 make \
25 INSTALL_PLUGINS_DIR=$install/usr/lib/ladspa/ \
26 INSTALL_INCLUDE_DIR=$install/usr/include/ \
27 INSTALL_BINARY_DIR=$install/usr/bin/ \
28 install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 ladspa)
34 copy @std
35 TAGS="multimedia"
36 ;;
37 *-dev)
38 copy @dev
39 ;;
40 esac
41 }