wok-current view dssi/receipt @ rev 25084

updated p4wn (1.0 -> 2.01)
author Hans-G?nter Theisgen
date Wed Jun 15 17:34:03 2022 +0100 (2022-06-15)
parents 9f81c5608d7c
children 7dd01dedad38
line source
1 # SliTaz package receipt.
3 PACKAGE="dssi"
4 VERSION="1.1.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="An audio plugin API for soft synths and effects."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://dssi.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="gcc-lib-base"
14 BUILD_DEPENDS="pkg-config alsa-lib-dev ladspa-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/dssi/files/dssi/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/dssi/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure --prefix=/usr \
28 --localstatedir=/var \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib/dssi
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/dssi $fs/usr/lib
41 rm -f $fs/usr/lib/dssi/*a
42 }