wok diff tsclient/receipt @ rev 15602
Use DESTDIR
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 05 20:42:36 2013 +0000 (2013-12-05) |
parents | 02bbaa9d12ba |
children | 86790a278e70 |
line diff
1.1 --- a/tsclient/receipt Mon Apr 04 01:29:52 2011 +0200 1.2 +++ b/tsclient/receipt Thu Dec 05 20:42:36 2013 +0000 1.3 @@ -5,13 +5,15 @@ 1.4 CATEGORY="network" 1.5 SHORT_DESC="GTK frontend to rdesktop and other remote desktop tools." 1.6 MAINTAINER="pankso@slitaz.org" 1.7 -DEPENDS="gtk+ rdesktop xorg-libXdamage" 1.8 -BUILD_DEPENDS="gtk+ gtk+-dev perl-xml-parser pkg-config" 1.9 +LICENSE="GPL2" 1.10 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.11 WEB_SITE="http://sourceforge.net/projects/tsclient/" 1.12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.13 TAGS="remote-desktop" 1.14 1.15 +DEPENDS="gtk+ rdesktop xorg-libXdamage" 1.16 +BUILD_DEPENDS="gtk+ gtk+-dev perl-xml-parser pkg-config" 1.17 + 1.18 # Rules to configure and make the package. 1.19 compile_rules() 1.20 { 1.21 @@ -23,17 +25,17 @@ 1.22 --disable-gnome \ 1.23 $CONFIGURE_ARGS && 1.24 make && 1.25 - make DESTDIR=$PWD/_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/usr/share/locale $fs/usr/lib 1.33 - cp -a $_pkg/usr/bin $fs/usr 1.34 - cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib 1.35 - cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale 1.36 - cp -a $_pkg/usr/share/pixmaps $fs/usr/share 1.37 - cp -a $_pkg/usr/share/applications $fs/usr/share 1.38 + cp -a $install/usr/bin $fs/usr 1.39 + cp -a $install/usr/lib/$PACKAGE $fs/usr/lib 1.40 + cp -a $install/usr/share/locale/fr $fs/usr/share/locale 1.41 + cp -a $install/usr/share/pixmaps $fs/usr/share 1.42 + cp -a $install/usr/share/applications $fs/usr/share 1.43 strip -s $fs/usr/lib/$PACKAGE/* 1.44 }