wok-current rev 6803

Added ladspa.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Oct 19 05:02:52 2010 +0000 (2010-10-19)
parents 75a5178e04be
children 2c125e3436ba
files ladspa-dev/receipt ladspa/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ladspa-dev/receipt	Tue Oct 19 05:02:52 2010 +0000
     1.3 @@ -0,0 +1,16 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ladspa-dev"
     1.7 +VERSION="1.13"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="ladspa devel files."
    1.10 +MAINTAINER="jozee@slitaz.org"
    1.11 +WANTED="ladspa"
    1.12 +WEB_SITE="http://www.ladspa.org/"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr
    1.18 +	cp -a $_pkg/usr/include $fs/usr
    1.19 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/ladspa/receipt	Tue Oct 19 05:02:52 2010 +0000
     2.3 @@ -0,0 +1,33 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="ladspa"
     2.7 +VERSION="1.13"
     2.8 +CATEGORY="multimedia"
     2.9 +MAINTAINER="jozee@slitaz.org"
    2.10 +SHORT_DESC="Linux Audio Developer's Simple Plugin API (LADSPA)"
    2.11 +BUILD_DEPENDS=""
    2.12 +WEB_SITE="http://www.ladspa.org/"
    2.13 +DEPENDS="gcc-lib-base"
    2.14 +TARBALL="${PACKAGE}_sdk_$VERSION.tgz"
    2.15 +WGET_URL="$WEB_SITE/download/$TARBALL"
    2.16 +TAGS="multimedia"
    2.17 +
    2.18 +# Rules to configure and make the package.
    2.19 +
    2.20 +compile_rules() {
    2.21 +  [ -d $PACKAGE-$VERSION  ] || mv ${PACKAGE}_sdk $PACKAGE-$VERSION
    2.22 +  cd $src/src
    2.23 +  sed -i -e 's/mkdirhier/mkdir -p/' makefile 
    2.24 +  make targets 
    2.25 +  make INSTALL_PLUGINS_DIR=$PWD/../_pkg/usr/lib/ladspa/ \
    2.26 +	   INSTALL_INCLUDE_DIR=$PWD/../_pkg/usr/include/  \
    2.27 +	   INSTALL_BINARY_DIR=$PWD/../_pkg/usr/bin/ install 
    2.28 +}
    2.29 +	
    2.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.31 +genpkg_rules()
    2.32 +{
    2.33 +	mkdir -p $fs/usr/lib/$PACKAGE
    2.34 +	cp -a $_pkg/usr/bin $fs/usr
    2.35 +	cp -a $_pkg/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE	
    2.36 +}