wok annotate tsclient/receipt @ rev 9424
ovz-web-panel: Change DEPENDS + cleaning
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Mar 30 23:44:21 2011 +0200 (2011-03-30) |
parents | f222ed5813c1 |
children | 02bbaa9d12ba |
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@2525 | 8 DEPENDS="gtk+ rdesktop xorg-libXdamage" |
pascal@1514 | 9 BUILD_DEPENDS="gtk+ gtk+-dev perl-xml-parser pkg-config" |
pankso@166 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@166 | 11 WEB_SITE="http://sourceforge.net/projects/tsclient/" |
pankso@166 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
jozee@4973 | 13 TAGS="remote-desktop" |
pankso@166 | 14 |
pankso@166 | 15 # Rules to configure and make the package. |
pankso@166 | 16 compile_rules() |
pankso@166 | 17 { |
pankso@166 | 18 cd $src |
pankso@166 | 19 ./configure \ |
pankso@166 | 20 --prefix=/usr \ |
pankso@166 | 21 --libexecdir=/usr/lib/$PACKAGE \ |
pankso@166 | 22 --mandir=/usr/share/man \ |
pankso@166 | 23 --disable-gnome \ |
pascal@1465 | 24 $CONFIGURE_ARGS && |
pascal@1465 | 25 make && |
pankso@166 | 26 make DESTDIR=$PWD/_pkg install |
pankso@166 | 27 } |
pankso@166 | 28 |
pankso@166 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@166 | 30 genpkg_rules() |
pankso@166 | 31 { |
pankso@166 | 32 mkdir -p $fs/usr/share/locale $fs/usr/lib |
pankso@166 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@166 | 34 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib |
pankso@166 | 35 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@166 | 36 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pankso@166 | 37 cp -a $_pkg/usr/share/applications $fs/usr/share |
pankso@166 | 38 strip -s $fs/usr/bin/* |
pankso@166 | 39 strip -s $fs/usr/lib/$PACKAGE/* |
pankso@166 | 40 } |