wok rev 13110

hydrogen: Clean up.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Jun 26 19:19:14 2012 +0000 (2012-06-26)
parents 8fcec0f6b5be
children 7a54ed6dfb65
files hydrogen/receipt
line diff
     1.1 --- a/hydrogen/receipt	Tue Jun 26 19:16:26 2012 +0000
     1.2 +++ b/hydrogen/receipt	Tue Jun 26 19:19:14 2012 +0000
     1.3 @@ -11,26 +11,25 @@
     1.4  BUILD_DEPENDS="scons libarchive-dev liblrdf-dev Qt4-dev \
     1.5  jack-audio-connection-kit jack-audio-connection-kit-dev \
     1.6  flac-dev libsndfile-dev alsa-lib-dev zlib-dev libtar-dev \
     1.7 -ladspa-dev raptor-dev pkg-config subversion"
     1.8 +ladspa-dev raptor-dev pkg-config"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.11  TAGS="multimedia"
    1.12  
    1.13  # Rules to configure and make the package.
    1.14 -
    1.15 -compile_rules() {
    1.16 -  cd $src
    1.17 -  export QTDIR=/usr
    1.18 -  mkdir -p $PWD/_pkg
    1.19 -  scons prefix=/usr libarchive=1 
    1.20 -  scons -k DESTDIR=$PWD/_pkg install || true
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src
    1.24 +	export QTDIR=/usr
    1.25 +	mkdir -p $DESTDIR
    1.26 +	scons prefix=/usr libarchive=1 
    1.27 +	scons -k 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 $fs/usr/share/applications
    1.34 -	cp -a $stuff/hydrogen.desktop $fs/usr/share/applications
    1.35 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.36  	cp -a $_pkg/usr/bin $fs/usr
    1.37  	cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share	
    1.38  }