wok-6.x view ladspa/receipt @ rev 24696
updated kamailio (5.3.2 -> 5.5.4)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 13 17:05:22 2022 +0100 (2022-03-13) |
parents | 4dece1e32570 |
children | f5bcefacd129 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ladspa"
4 VERSION="1.15"
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"
16 BUILD_DEPENDS=""
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/src
30 # not applicable in version 1.15:
31 # sed -i -e 's/mkdirhier/mkdir -p/' makefile
33 make -j 1 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 mkdir -p $fs/usr/lib/$PACKAGE
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
47 }