wok-6.x view tsclient/receipt @ rev 1137

Fix post_install for subdir install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 24 12:27:06 2008 +0000 (2008-07-24)
parents ec8fbf5f79c3
children c1ff74d9b6f4
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://sourceforge.net/projects/tsclient/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --libexecdir=/usr/lib/$PACKAGE \
20 --mandir=/usr/share/man \
21 --disable-gnome \
22 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/locale $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
34 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
35 cp -a $_pkg/usr/share/applications $fs/usr/share
36 strip -s $fs/usr/bin/*
37 strip -s $fs/usr/lib/$PACKAGE/*
38 }