wok diff hydrogen/receipt @ rev 13381

Up: openconnect to 4.07
author Samuel Trassare <samuel_trassare@yahoo.com>
date Thu Sep 20 20:25:13 2012 +0000 (2012-09-20)
parents af9a1b47948c
children 68ec33732967
line diff
     1.1 --- a/hydrogen/receipt	Tue Jan 24 22:51:41 2012 +0100
     1.2 +++ b/hydrogen/receipt	Thu Sep 20 20:25:13 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  }