wok-6.x diff enigma/receipt @ rev 13955

gtk+3: moved from wok-undigest
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jan 30 11:48:51 2013 +0000 (2013-01-30)
parents 54e674927b43
children 842dd79348e3
line diff
     1.1 --- a/enigma/receipt	Wed Apr 07 23:00:12 2010 +0000
     1.2 +++ b/enigma/receipt	Wed Jan 30 11:48:51 2013 +0000
     1.3 @@ -9,25 +9,27 @@
     1.4  TARBALL="$PACKAGE-$VERSION-$REVISION.tar.gz"
     1.5  WEB_SITE="http://www.nongnu.org/enigma/"
     1.6  WGET_URL="http://download.berlios.de/enigma-game/$TARBALL"
     1.7 +
     1.8 +DEPENDS="libsdl libsdl-ttf libsdl-mixer libsdl-image xerces-c"
     1.9  BUILD_DEPENDS="gettext libsdl-ttf-dev libsdl-mixer-dev libsdl-image-dev libsdl-dev xerces-c-dev"
    1.10 -DEPENDS="libsdl libsdl-ttf libsdl-mixer libsdl-image xerces-c"
    1.11  
    1.12  # Rules to configure and make the package.
    1.13  compile_rules()
    1.14  {
    1.15  	cd $src
    1.16 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.17 -	--mandir=/usr/share/man $CONFIGURE_ARGS \
    1.18 -	--enable-optimize &&
    1.19 +	./configure \
    1.20 +		--build=$HOST_SYSTEM \
    1.21 +		--host=$HOST_SYSTEM \
    1.22 +		--enable-optimize &&
    1.23  	make &&
    1.24 -	make DESTDIR=$PWD/_pkg install
    1.25 +	make DESTDIR=$DESTDIR install
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31 -	mkdir -p $fs/usr
    1.32 +	mkdir -p $fs/usr/share
    1.33  	cp -a $_pkg/usr/bin $fs/usr
    1.34  	cp -a $_pkg/usr/lib $fs/usr
    1.35 -	cp -a $_pkg/usr/share $fs/usr
    1.36 +	cp -a $_pkg/usr/share/enigma $fs/usr/share
    1.37  }