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