wok-4.x rev 8985

Fixed putty.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Mar 02 16:30:51 2011 +0000 (2011-03-02)
parents edf212a8db46
children 5a95352df02a
files putty/receipt
line diff
     1.1 --- a/putty/receipt	Wed Mar 02 16:14:47 2011 +0000
     1.2 +++ b/putty/receipt	Wed Mar 02 16:30:51 2011 +0000
     1.3 @@ -9,7 +9,7 @@
     1.4  libgio pango pixman libpng libxcb xcb-util xorg-libX11 xorg-libXau \
     1.5  xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
     1.6  xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender krb5 libcomerr3"
     1.7 -BUILD_DEPENDS="slitaz-toolchain gtk+-dev imagemagick python perl krb5-dev"
     1.8 +BUILD_DEPENDS="gtk+-dev imagemagick python perl krb5-dev"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://www.chiark.greenend.org.uk/~sgtatham/putty/"
    1.11  #WGET_URL="http://putty.linux-mirror.org/latest/$TARBALL"
    1.12 @@ -22,19 +22,16 @@
    1.13  	cd $src/icons &&
    1.14  	make &&
    1.15  	make install &&
    1.16 -	mkdir -p $src/_pkg/usr/share/pixmaps &&
    1.17 -	cp $src/icons/pterm-48.png $src/_pkg/usr/share/pixmaps/pterm.png &&
    1.18 -	cp $src/icons/putty-48.png $src/_pkg/usr/share/pixmaps/putty.png &&
    1.19 +	mkdir -p $DESTDIR/usr/share/pixmaps &&
    1.20 +	cp $src/icons/pterm-48.png $DESTDIR/usr/share/pixmaps/pterm.png &&
    1.21 +	cp $src/icons/putty-48.png $DESTDIR/usr/share/pixmaps/putty.png &&
    1.22  	
    1.23  	cd $src/unix &&
    1.24  
    1.25  	sed -e 's/-Werror//g' -i configure &&
    1.26 -	./configure \
    1.27 -		--prefix=/usr \
    1.28 -		--mandir=/usr/share/man \
    1.29 -		$CONFIGURE_ARGS &&
    1.30 +	./configure &&
    1.31  	make XFLAGS=-DTELNET_DEFAULT &&
    1.32 -	make DESTDIR=$src/_pkg install
    1.33 +	make install
    1.34  }
    1.35  
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 @@ -42,7 +39,7 @@
    1.38  {
    1.39  	mkdir -p $fs/usr/share $fs/usr/share/pixmaps
    1.40  	
    1.41 -	cp -a stuff/applications $src/_pkg/usr/share
    1.42 +	cp -a $stuff/applications $_pkg/usr/share
    1.43  	cp -a $_pkg/usr/bin $fs/usr
    1.44  	cp -a $_pkg/usr/share/applications $fs/usr/share
    1.45  	cp -a $_pkg/usr/share/pixmaps $fs/usr/share