wok-current view ladspa/receipt @ rev 25434
Up znc (1.8.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 29 10:14:47 2022 +0000 (2022-08-29) |
parents | 34e801e0eb52 |
children | 5926178cd6fa |
line source
1 # SliTaz package receipt.
3 PACKAGE="ladspa"
4 VERSION="1.17"
5 CATEGORY="multimedia"
6 TAGS="audio multimedia"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="LGPL2.1"
9 SHORT_DESC="Linux Audio Developer's Simple Plugin API (LADSPA)."
10 WEB_SITE="http://www.ladspa.org/"
12 TARBALL="${PACKAGE}_sdk_$VERSION.tgz"
13 WGET_URL="${WEB_SITE}download/$TARBALL"
15 DEPENDS="gcc-lib-base libsndfile"
16 BUILD_DEPENDS="libsndfile-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WEB_SITE}download/index.html 2>/dev/null | \
22 sed '/latest/d;/ladspa_sdk_[0-9]/!d;/tgz/!d;s|.*ladspa_sdk_||;s|.tgz.*||' | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd src
30 # not applicable since version 1.15:
31 # sed -i -e 's/mkdirhier/mkdir -p/' makefile
33 make targets &&
34 make install \
35 INSTALL_PLUGINS_DIR=$DESTDIR/usr/lib/ladspa/ \
36 INSTALL_INCLUDE_DIR=$DESTDIR/usr/include/ \
37 INSTALL_BINARY_DIR=$DESTDIR/usr/bin/
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cook_copy_folders bin
44 cook_copy_folders lib
45 }