wok annotate dssi/receipt @ rev 25576

Up nimrod (1.6.12)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 13 17:57:27 2023 +0000 (18 months ago)
parents 640a2eba2511
children 6b33f9da53d4
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@25460 10 WEB_SITE="https://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 }