wok annotate ladspa/receipt @ rev 23156
Up nwipe (0.28) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 15 17:43:47 2020 +0100 (2020-03-15) |
parents | 2a5cc8208d36 |
children | 34e801e0eb52 |
rev | line source |
---|---|
slaxemulator@6803 | 1 # SliTaz package receipt. |
slaxemulator@6803 | 2 |
slaxemulator@6803 | 3 PACKAGE="ladspa" |
Hans-G?nter@21094 | 4 VERSION="1.15" |
slaxemulator@6803 | 5 CATEGORY="multimedia" |
Hans-G?nter@21094 | 6 TAGS="audio multimedia" |
slaxemulator@6803 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15379 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@21094 | 9 SHORT_DESC="Linux Audio Developer's Simple Plugin API (LADSPA)." |
slaxemulator@6803 | 10 WEB_SITE="http://www.ladspa.org/" |
Hans-G?nter@21094 | 11 |
slaxemulator@6803 | 12 TARBALL="${PACKAGE}_sdk_$VERSION.tgz" |
Hans-G?nter@21094 | 13 WGET_URL="${WEB_SITE}download/$TARBALL" |
slaxemulator@6803 | 14 |
pascal@15079 | 15 DEPENDS="gcc-lib-base" |
pascal@15079 | 16 BUILD_DEPENDS="" |
pascal@15079 | 17 |
slaxemulator@6803 | 18 # Rules to configure and make the package. |
pascal@15079 | 19 compile_rules() |
pascal@15079 | 20 { |
pascal@15079 | 21 cd $src/src |
Hans-G?nter@21094 | 22 |
Hans-G?nter@21094 | 23 # not applicable in version 1.15: |
Hans-G?nter@21094 | 24 # sed -i -e 's/mkdirhier/mkdir -p/' makefile |
Hans-G?nter@21094 | 25 |
Hans-G?nter@21094 | 26 make -j 1 targets && |
Hans-G?nter@21094 | 27 make install \ |
Hans-G?nter@21094 | 28 INSTALL_PLUGINS_DIR=$DESTDIR/usr/lib/ladspa/ \ |
Hans-G?nter@21094 | 29 INSTALL_INCLUDE_DIR=$DESTDIR/usr/include/ \ |
Hans-G?nter@21094 | 30 INSTALL_BINARY_DIR=$DESTDIR/usr/bin/ |
slaxemulator@6803 | 31 } |
slaxemulator@6803 | 32 |
slaxemulator@6803 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6803 | 34 genpkg_rules() |
slaxemulator@6803 | 35 { |
slaxemulator@6803 | 36 mkdir -p $fs/usr/lib/$PACKAGE |
Hans-G?nter@21094 | 37 |
Hans-G?nter@21094 | 38 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21094 | 39 cp -a $install/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE |
slaxemulator@6803 | 40 } |