wok-next view remmina/receipt @ rev 20671
qemu, qemu-light: define prefix
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 11 14:51:17 2018 +0300 (2018-05-11) |
parents | 3fc0b388dc50 |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="remmina"
4 VERSION="1.2.0-rcgit.24"
5 CATEGORY="network"
6 SHORT_DESC="Remote desktop client written in GTK+"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://$PACKAGE.sourceforge.net/"
11 WGET_URL="https://github.com/FreeRDP/Remmina/archive/v$VERSION.tar.gz"
12 PROVIDE="remmina-plugins"
13 TAGS="rdp vnc nx xdmcp"
15 DEPENDS="gtk+ libgcrypt libssh vte freerdp"
16 BUILD_DEPENDS="gtk+-dev intltool cmake libgcrypt-dev libssh-dev vte-dev \
17 freerdp-dev libvncserver-dev libgnome-keyring-dev gettext telepathy-glib-dev \
18 libappindicator-gtk3-dev xorg-libxkbfile-dev"
19 SPLIT="remmina-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 # Here `sed -i '/external_tools/d' ...` because cmake (make install)
25 # produce error trying to install "external tools" to
26 # "$install/root/.remmina/external_tools/"
27 mkdir build
28 cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_TELEPATHY=OFF \
29 -DWITH_AVAHI=OFF &&
30 make &&
31 sed -i '/external_tools/d' $src/remmina/cmake_install.cmake &&
32 make DESTDIR=$DESTDIR install
33 cp -a remmina/include $DESTDIR/usr
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 case $PACKAGE in
40 remmina)
41 cp -a $install/* $fs
42 ;;
43 remmina-dev)
44 mkdir -p $fs/usr
45 cp -a $install/usr/include $fs/usr
46 ;;
47 esac
48 }