wok-current view ladspa/receipt @ rev 25642
Bump linux to 4.19.305, add linux-pae-ipv6
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Wed Jan 17 12:05:22 2024 +0000 (11 months ago) |
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 }