wok-6.x annotate remmina/receipt @ rev 13611

remmina: use cmake
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 12 18:30:37 2012 +0100 (2012-11-12)
parents 45d76459585c
children 749cbaae556a
rev   line source
pascal@8257 1 # SliTaz package receipt.
pascal@8257 2
pascal@8257 3 PACKAGE="remmina"
pascal@13611 4 SOURCE="Remmina"
pascal@13610 5 VERSION="1.0.0"
pascal@8257 6 CATEGORY="network"
pascal@8257 7 SHORT_DESC="Remote desktop client written in GTK+"
pascal@8257 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@8257 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@8257 10 WEB_SITE="http://$PACKAGE.sourceforge.net/"
pascal@13611 11 WGET_URL="https://github.com/downloads/FreeRDP/$SOURCE/$TARBALL"
pascal@13610 12 SUGGESTED="remmina-plugins"
pascal@13610 13 TAGS="rdp vnc"
pascal@13610 14
pascal@8257 15 DEPENDS="gtk+"
pascal@13611 16 BUILD_DEPENDS="gtk+-dev intltool wget cmake libgcrypt-dev libssh-dev vte-dev \
pascal@13611 17 freerdp-dev libgnome-keyring-dev"
pascal@8257 18
pascal@8257 19 # Rules to configure and make the package.
pascal@8257 20 compile_rules()
pascal@8257 21 {
pascal@8257 22 cd $src
pascal@13314 23 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
pascal@13611 24 mkdir build
pascal@13611 25 cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_TELEPATHY=OFF \
pascal@13611 26 -DWITH_GETTEXT=OFF -DWITH_AVAHI=OFF &&
pascal@8257 27 make &&
pascal@13610 28 make DESTDIR=$DESTDIR install
pascal@8257 29 }
pascal@8257 30
pascal@8257 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@8257 32 genpkg_rules()
pascal@8257 33 {
pascal@8257 34 mkdir -p $fs/usr
pascal@13610 35 cp -a $install/usr/share $fs/usr
pascal@13610 36 cp -a $install/usr/bin $fs/usr
pascal@8257 37 }