wok-6.x annotate tsclient/receipt @ rev 2234

pam-dev: add /usr/include/pam
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 14 10:01:02 2009 +0000 (2009-02-14)
parents c1ff74d9b6f4
children f222ed5813c1
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"
pankso@166 8 DEPENDS="gtk+ rdesktop"
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"
pankso@166 13
pankso@166 14 # Rules to configure and make the package.
pankso@166 15 compile_rules()
pankso@166 16 {
pankso@166 17 cd $src
pankso@166 18 ./configure \
pankso@166 19 --prefix=/usr \
pankso@166 20 --libexecdir=/usr/lib/$PACKAGE \
pankso@166 21 --mandir=/usr/share/man \
pankso@166 22 --disable-gnome \
pascal@1465 23 $CONFIGURE_ARGS &&
pascal@1465 24 make &&
pankso@166 25 make DESTDIR=$PWD/_pkg install
pankso@166 26 }
pankso@166 27
pankso@166 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@166 29 genpkg_rules()
pankso@166 30 {
pankso@166 31 mkdir -p $fs/usr/share/locale $fs/usr/lib
pankso@166 32 cp -a $_pkg/usr/bin $fs/usr
pankso@166 33 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
pankso@166 34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pankso@166 35 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
pankso@166 36 cp -a $_pkg/usr/share/applications $fs/usr/share
pankso@166 37 strip -s $fs/usr/bin/*
pankso@166 38 strip -s $fs/usr/lib/$PACKAGE/*
pankso@166 39 }