wok-current diff ladspa/receipt @ rev 24353

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 03 12:55:23 2022 +0000 (2022-02-03)
parents 2a5cc8208d36
children 34e801e0eb52
line diff
     1.1 --- a/ladspa/receipt	Sun Oct 20 22:08:25 2013 +0000
     1.2 +++ b/ladspa/receipt	Thu Feb 03 12:55:23 2022 +0000
     1.3 @@ -1,15 +1,16 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ladspa"
     1.7 -VERSION="1.13"
     1.8 +VERSION="1.15"
     1.9  CATEGORY="multimedia"
    1.10 +TAGS="audio multimedia"
    1.11  MAINTAINER="jozee@slitaz.org"
    1.12  LICENSE="LGPL2.1"
    1.13 -SHORT_DESC="Linux Audio Developer's Simple Plugin API (LADSPA)"
    1.14 +SHORT_DESC="Linux Audio Developer's Simple Plugin API (LADSPA)."
    1.15  WEB_SITE="http://www.ladspa.org/"
    1.16 +
    1.17  TARBALL="${PACKAGE}_sdk_$VERSION.tgz"
    1.18 -WGET_URL="$WEB_SITE/download/$TARBALL"
    1.19 -TAGS="multimedia"
    1.20 +WGET_URL="${WEB_SITE}download/$TARBALL"
    1.21  
    1.22  DEPENDS="gcc-lib-base"
    1.23  BUILD_DEPENDS=""
    1.24 @@ -18,17 +19,22 @@
    1.25  compile_rules()
    1.26  {
    1.27  	cd $src/src
    1.28 -	sed -i -e 's/mkdirhier/mkdir -p/' makefile 
    1.29 -	make targets 
    1.30 -	make INSTALL_PLUGINS_DIR=$DESTDIR/usr/lib/ladspa/ \
    1.31 -		INSTALL_INCLUDE_DIR=$DESTDIR/usr/include/  \
    1.32 -		INSTALL_BINARY_DIR=$DESTDIR/usr/bin/ install 
    1.33 +
    1.34 +	# not applicable in version 1.15:
    1.35 +	# sed -i -e 's/mkdirhier/mkdir -p/' makefile 
    1.36 +
    1.37 +	make -j 1 targets &&
    1.38 +	make install						\
    1.39 +		INSTALL_PLUGINS_DIR=$DESTDIR/usr/lib/ladspa/	\
    1.40 +		INSTALL_INCLUDE_DIR=$DESTDIR/usr/include/	\
    1.41 +		INSTALL_BINARY_DIR=$DESTDIR/usr/bin/
    1.42  }
    1.43  	
    1.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.45  genpkg_rules()
    1.46  {
    1.47  	mkdir -p $fs/usr/lib/$PACKAGE
    1.48 -	cp -a $install/usr/bin $fs/usr
    1.49 -	cp -a $install/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE	
    1.50 +
    1.51 +	cp -a $install/usr/bin			$fs/usr
    1.52 +	cp -a $install/usr/lib/$PACKAGE/*so*	$fs/usr/lib/$PACKAGE	
    1.53  }