# SliTaz package receipt. PACKAGE="tsclient" VERSION="0.150" CATEGORY="network" SHORT_DESC="GTK frontend to rdesktop and other remote desktop tools." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://remmina.org/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" TAGS="remote-desktop" DEPENDS="gtk+ rdesktop xorg-libXdamage" BUILD_DEPENDS="gtk+ gtk+-dev perl-xml-parser pkg-config" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/tsclient/files/tsclient/ 2>/dev/null | \ sed '/scope="row/!d;/unstable/d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/tsclient/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { cd $src ./configure \ --prefix=/usr \ --libexecdir=/usr/lib/$PACKAGE \ --mandir=/usr/share/man \ --disable-gnome \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/locale $fs/usr/lib cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib/$PACKAGE $fs/usr/lib cp -a $install/usr/share/locale/fr $fs/usr/share/locale cp -a $install/usr/share/pixmaps $fs/usr/share cp -a $install/usr/share/applications $fs/usr/share strip -s $fs/usr/lib/$PACKAGE/* }