wok-next annotate ladspa/receipt @ rev 20080
fix
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 25 11:39:56 2017 +0200 (2017-10-25) |
parents | 0f6e994c05b9 |
children | c37d2f8310e0 |
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" |
pascal@15379 | 7 LICENSE="LGPL2.1" |
slaxemulator@6803 | 8 SHORT_DESC="Linux Audio Developer's Simple Plugin API (LADSPA)" |
slaxemulator@6803 | 9 WEB_SITE="http://www.ladspa.org/" |
slaxemulator@6803 | 10 TARBALL="${PACKAGE}_sdk_$VERSION.tgz" |
slaxemulator@6803 | 11 WGET_URL="$WEB_SITE/download/$TARBALL" |
slaxemulator@6803 | 12 TAGS="multimedia" |
slaxemulator@6803 | 13 |
pascal@15079 | 14 DEPENDS="gcc-lib-base" |
pascal@15079 | 15 BUILD_DEPENDS="" |
pascal@15079 | 16 |
slaxemulator@6803 | 17 # Rules to configure and make the package. |
pascal@15079 | 18 compile_rules() |
pascal@15079 | 19 { |
pascal@15079 | 20 cd $src/src |
pascal@15079 | 21 sed -i -e 's/mkdirhier/mkdir -p/' makefile |
pascal@15079 | 22 make targets |
pascal@15079 | 23 make INSTALL_PLUGINS_DIR=$DESTDIR/usr/lib/ladspa/ \ |
pascal@15079 | 24 INSTALL_INCLUDE_DIR=$DESTDIR/usr/include/ \ |
pascal@15079 | 25 INSTALL_BINARY_DIR=$DESTDIR/usr/bin/ install |
slaxemulator@6803 | 26 } |
slaxemulator@6803 | 27 |
slaxemulator@6803 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6803 | 29 genpkg_rules() |
slaxemulator@6803 | 30 { |
slaxemulator@6803 | 31 mkdir -p $fs/usr/lib/$PACKAGE |
pascal@15079 | 32 cp -a $install/usr/bin $fs/usr |
pascal@15079 | 33 cp -a $install/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE |
slaxemulator@6803 | 34 } |