wok-6.x annotate ladspa/receipt @ rev 15355

notecase: add CFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 30 20:23:31 2013 +0000 (2013-09-30)
parents 34b07d7607c0
children 2a5cc8208d36
rev   line source
slaxemulator@6803 1 # SliTaz package receipt.
slaxemulator@6803 2
slaxemulator@6803 3 PACKAGE="ladspa"
slaxemulator@6803 4 VERSION="1.13"
slaxemulator@6803 5 CATEGORY="multimedia"
slaxemulator@6803 6 MAINTAINER="jozee@slitaz.org"
slaxemulator@6803 7 SHORT_DESC="Linux Audio Developer's Simple Plugin API (LADSPA)"
slaxemulator@6803 8 WEB_SITE="http://www.ladspa.org/"
slaxemulator@6803 9 TARBALL="${PACKAGE}_sdk_$VERSION.tgz"
slaxemulator@6803 10 WGET_URL="$WEB_SITE/download/$TARBALL"
slaxemulator@6803 11 TAGS="multimedia"
slaxemulator@6803 12
pascal@15079 13 DEPENDS="gcc-lib-base"
pascal@15079 14 BUILD_DEPENDS=""
pascal@15079 15
slaxemulator@6803 16 # Rules to configure and make the package.
pascal@15079 17 compile_rules()
pascal@15079 18 {
pascal@15079 19 cd $src/src
pascal@15079 20 sed -i -e 's/mkdirhier/mkdir -p/' makefile
pascal@15079 21 make targets
pascal@15079 22 make INSTALL_PLUGINS_DIR=$DESTDIR/usr/lib/ladspa/ \
pascal@15079 23 INSTALL_INCLUDE_DIR=$DESTDIR/usr/include/ \
pascal@15079 24 INSTALL_BINARY_DIR=$DESTDIR/usr/bin/ install
slaxemulator@6803 25 }
slaxemulator@6803 26
slaxemulator@6803 27 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6803 28 genpkg_rules()
slaxemulator@6803 29 {
slaxemulator@6803 30 mkdir -p $fs/usr/lib/$PACKAGE
pascal@15079 31 cp -a $install/usr/bin $fs/usr
pascal@15079 32 cp -a $install/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
slaxemulator@6803 33 }