wok-4.x diff enigma/receipt @ rev 11506

graphviz: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 22 22:36:56 2011 +0100 (2011-12-22)
parents 54e674927b43
children
line diff
     1.1 --- a/enigma/receipt	Wed Apr 07 23:00:12 2010 +0000
     1.2 +++ b/enigma/receipt	Thu Dec 22 22:36:56 2011 +0100
     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  }