wok-current diff putty/receipt @ rev 9117

scim-tables-additional: remove spurrious part of genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 05 13:01:38 2011 +0100 (2011-03-05)
parents 03e76c74becd
children 7a71651655dc
line diff
     1.1 --- a/putty/receipt	Sun Aug 29 09:30:16 2010 +0200
     1.2 +++ b/putty/receipt	Sat Mar 05 13:01:38 2011 +0100
     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