wok-current view caps/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents f85199bb75ff
children
line source
1 # SliTaz package receipt.
3 PACKAGE="caps"
4 VERSION="0.9.26"
5 CATEGORY="multimedia"
6 SHORT_DESC="The CAPS Audio Plugin Suite."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://quitte.de/dsp/caps.html"
11 TARBALL="${PACKAGE}_${VERSION}.tar.bz2"
12 WGET_URL="http://quitte.de/dsp/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="python"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - http://quitte.de/dsp/caps.html 2>/dev/null | \
21 sed "/latest/d;/${PACKAGE}_[0-9]/!d;/tar/!d;s|.*${PACKAGE}_||;s|.tar.*||;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure.py
28 make rdf
29 make caps.so
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib/ladspa $fs/usr/share/ladspa/rdf
36 cp $src/caps.rdf $fs/usr/share/ladspa/rdf
37 cp -a $src/caps.so $fs/usr/lib/ladspa
38 }