wok-current view tsclient/receipt @ rev 24354
created recipe for py3k-dbus-1.2.18
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 03 15:11:19 2022 +0100 (2022-02-03) |
parents | 86790a278e70 |
children | 6023b31d568c |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://sourceforge.net/projects/tsclient/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="remote-desktop"
14 DEPENDS="gtk+ rdesktop xorg-libXdamage"
15 BUILD_DEPENDS="gtk+ gtk+-dev perl-xml-parser pkg-config"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/tsclient/files/tsclient/ 2>/dev/null | \
21 sed '/scope="row/!d;/unstable/d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/tsclient/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 ./configure \
30 --prefix=/usr \
31 --libexecdir=/usr/lib/$PACKAGE \
32 --mandir=/usr/share/man \
33 --disable-gnome \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share/locale $fs/usr/lib
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
45 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
46 cp -a $install/usr/share/pixmaps $fs/usr/share
47 cp -a $install/usr/share/applications $fs/usr/share
48 strip -s $fs/usr/lib/$PACKAGE/*
49 }