wok-next diff ladspa/receipt @ rev 12786

Up mongodb (2.0.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 15 13:42:25 2012 +0200 (2012-05-15)
parents
children 0f6e994c05b9
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ladspa/receipt	Tue May 15 13:42:25 2012 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ladspa"
     1.7 +VERSION="1.13"
     1.8 +CATEGORY="multimedia"
     1.9 +MAINTAINER="jozee@slitaz.org"
    1.10 +SHORT_DESC="Linux Audio Developer's Simple Plugin API (LADSPA)"
    1.11 +BUILD_DEPENDS=""
    1.12 +WEB_SITE="http://www.ladspa.org/"
    1.13 +DEPENDS="gcc-lib-base"
    1.14 +TARBALL="${PACKAGE}_sdk_$VERSION.tgz"
    1.15 +WGET_URL="$WEB_SITE/download/$TARBALL"
    1.16 +TAGS="multimedia"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +
    1.20 +compile_rules() {
    1.21 +  [ -d $PACKAGE-$VERSION  ] || mv ${PACKAGE}_sdk $PACKAGE-$VERSION
    1.22 +  cd $src/src
    1.23 +  sed -i -e 's/mkdirhier/mkdir -p/' makefile 
    1.24 +  make targets 
    1.25 +  make INSTALL_PLUGINS_DIR=$PWD/../_pkg/usr/lib/ladspa/ \
    1.26 +	   INSTALL_INCLUDE_DIR=$PWD/../_pkg/usr/include/  \
    1.27 +	   INSTALL_BINARY_DIR=$PWD/../_pkg/usr/bin/ 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/$PACKAGE
    1.34 +	cp -a $_pkg/usr/bin $fs/usr
    1.35 +	cp -a $_pkg/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE	
    1.36 +}