# SliTaz package receipt. PACKAGE="dssi" VERSION="1.1.1" CATEGORY="multimedia" SHORT_DESC="An audio plugin API for soft synths and effects." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="LGPL2.1" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://dssi.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="gcc-lib-base" BUILD_DEPENDS="pkg-config alsa-lib-dev ladspa-dev" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/dssi/files/dssi/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/dssi/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { ./configure --prefix=/usr \ --localstatedir=/var \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib/dssi cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib/dssi $fs/usr/lib rm -f $fs/usr/lib/dssi/*a }