wok-6.x view tsclient/receipt @ rev 1535
udev: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 09 19:36:57 2008 +0000 (2008-10-09) |
parents | c1ff74d9b6f4 |
children | f222ed5813c1 |
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"
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 }