wok diff dssi/receipt @ rev 19001

Use variables in $TARBALL
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 23 11:51:37 2016 +0200 (2016-03-23)
parents
children 640a2eba2511
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dssi/receipt	Wed Mar 23 11:51:37 2016 +0200
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="dssi"
     1.7 +VERSION="1.1.1"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="An audio plugin API for soft synths and effects."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="LGPL2.1"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://dssi.sourceforge.net/"
    1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.15 +
    1.16 +DEPENDS="gcc-lib-base"
    1.17 +BUILD_DEPENDS="pkg-config alsa-lib-dev ladspa-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	./configure --prefix=/usr \
    1.23 +		--localstatedir=/var \
    1.24 +		--mandir=/usr/share/man \
    1.25 +		$CONFIGURE_ARGS &&
    1.26 +	make &&
    1.27 +	make DESTDIR=$DESTDIR install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr/lib/dssi
    1.34 +	cp -a $install/usr/bin $fs/usr
    1.35 +	cp -a $install/usr/lib/dssi $fs/usr/lib
    1.36 +	rm -f $fs/usr/lib/dssi/*a
    1.37 +}