wok-6.x diff xpat2/receipt @ rev 15297
compiz-core: race condition
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 27 10:17:43 2013 +0000 (2013-09-27) |
parents | 940b5937e496 |
children | c19e615aaeeb |
line diff
1.1 --- a/xpat2/receipt Wed Mar 02 11:06:20 2011 +0100 1.2 +++ b/xpat2/receipt Fri Sep 27 10:17:43 2013 +0000 1.3 @@ -6,14 +6,16 @@ 1.4 SHORT_DESC="Soltaire games for X." 1.5 MAINTAINER="b1+slitaz@nagel.org" 1.6 WEB_SITE="http://manpages.ubuntu.com/manpages/intrepid/man6/xpat2.html" 1.7 -DEPENDS="xorg-libX11 xorg-libXt xorg-libXaw" 1.8 TARBALL="$PACKAGE-$VERSION-src.tar.gz" 1.9 WGET_URL="http://www.ibiblio.org/pub/Linux/games/solitaires/$TARBALL" 1.10 1.11 +DEPENDS="xorg-libX11 xorg-libXt xorg-libXaw" 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 { 1.16 cd $src 1.17 + export LDFLAGS="-Wl,--copy-dt-needed-entries -lXmu" 1.18 for i in xpat2.patch layout.patch ; do 1.19 [ -f done.$i ] && continue 1.20 patch -p1 < $stuff/$i 1.21 @@ -22,14 +24,14 @@ 1.22 cd src 1.23 cp $stuff/Makefile . 1.24 make && 1.25 - make DESTDIR=../_pkg install 1.26 + make DESTDIR=$DESTDIR install 1.27 } 1.28 1.29 # Rules to gen a SliTaz package suitable for Tazpkg. 1.30 genpkg_rules() 1.31 { 1.32 mkdir -p $fs/var/games/xpat2 1.33 - cp -a $_pkg/usr $fs 1.34 + cp -a $install/usr $fs 1.35 mkdir -p $fs/usr/share/X11/app-defaults/ 1.36 cp -a $stuff/XPat.ad $fs/usr/share/X11/app-defaults/XPat 1.37 touch $fs/var/games/xpat2/xpat.log