wok annotate 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 |
rev | line source |
---|---|
pankso@166 | 1 # SliTaz package receipt. |
pankso@166 | 2 |
pankso@166 | 3 PACKAGE="tsclient" |
pankso@166 | 4 VERSION="0.150" |
pankso@203 | 5 CATEGORY="network" |
pankso@166 | 6 SHORT_DESC="GTK frontend to rdesktop and other remote desktop tools." |
pankso@166 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15590 | 8 LICENSE="GPL2" |
pankso@166 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@166 | 10 WEB_SITE="http://sourceforge.net/projects/tsclient/" |
pankso@166 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4973 | 12 TAGS="remote-desktop" |
pankso@166 | 13 |
pascal@15590 | 14 DEPENDS="gtk+ rdesktop xorg-libXdamage" |
pascal@15590 | 15 BUILD_DEPENDS="gtk+ gtk+-dev perl-xml-parser pkg-config" |
pascal@15590 | 16 |
pankso@166 | 17 # Rules to configure and make the package. |
pankso@166 | 18 compile_rules() |
pankso@166 | 19 { |
pankso@166 | 20 cd $src |
pankso@166 | 21 ./configure \ |
pankso@166 | 22 --prefix=/usr \ |
pankso@166 | 23 --libexecdir=/usr/lib/$PACKAGE \ |
pankso@166 | 24 --mandir=/usr/share/man \ |
pankso@166 | 25 --disable-gnome \ |
pascal@1465 | 26 $CONFIGURE_ARGS && |
pascal@1465 | 27 make && |
pascal@15590 | 28 make DESTDIR=$DESTDIR install |
pankso@166 | 29 } |
pankso@166 | 30 |
pankso@166 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@166 | 32 genpkg_rules() |
pankso@166 | 33 { |
pankso@166 | 34 mkdir -p $fs/usr/share/locale $fs/usr/lib |
pascal@15590 | 35 cp -a $install/usr/bin $fs/usr |
pascal@15590 | 36 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib |
pascal@15590 | 37 cp -a $install/usr/share/locale/fr $fs/usr/share/locale |
pascal@15590 | 38 cp -a $install/usr/share/pixmaps $fs/usr/share |
pascal@15590 | 39 cp -a $install/usr/share/applications $fs/usr/share |
pankso@166 | 40 strip -s $fs/usr/lib/$PACKAGE/* |
pankso@166 | 41 } |