wok-4.x view tsclient/receipt @ rev 4840

tazpkg-web: add BuildDepends & FileOverlap
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 28 19:12:08 2010 +0100 (2010-01-28)
parents 52dc4b48ed81
children 866fa2493b1b
line source
1 # SliTaz package receipt.
3 PACKAGE="tsclient"
4 VERSION="0.150"
5 CATEGORY="network"
6 SHORT_DESC="GTK frontend to rdesktop and other remote desktop tools."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ rdesktop xorg-libXdamage"
9 BUILD_DEPENDS="gtk+ gtk+-dev perl-xml-parser pkg-config"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://sourceforge.net/projects/tsclient/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --libexecdir=/usr/lib/$PACKAGE \
21 --mandir=/usr/share/man \
22 --disable-gnome \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/locale $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
35 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
36 cp -a $_pkg/usr/share/applications $fs/usr/share
37 strip -s $fs/usr/bin/*
38 strip -s $fs/usr/lib/$PACKAGE/*
39 }