wok-next view guacamole/receipt @ rev 20443

The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 16:17:33 2018 +0200 (2018-02-24)
parents 99d1d45ec006
children e6615350078d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="guacamole"
4 VERSION="0.9.4"
5 CATEGORY="network"
6 SHORT_DESC="Clientless remote desktop gateway for VNC or RDP"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-server-$VERSION.tar.gz"
10 WEB_SITE="http://guac-dev.org/"
11 WGET_URL="$SF_MIRROR/project/$PACKAGE/current/source/$TARBALL"
13 BUILD_DEPENDS="cairo-dev ossp-uuid-dev libxml2-dev openssl-dev jpeg-dev \
14 libvncserver-dev freerdp-dev libvorbis-dev pango-dev pulseaudio-dev \
15 libssh2-dev xorg-dev libjson-c-dev libsndfile-dev flac-dev dbus-dev \
16 libgcrypt-dev"
17 SPLIT="guacamole-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure --prefix=/usr \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 case $PACKAGE in
33 guacamole)
34 DEPENDS="cairo ossp-uuid libxml2 libvorbis libssl freerdp \
35 libvncserver libssh2 pango pulseaudio libjson-c \
36 libsndfile flac bzlib zlib"
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/sbin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 ;;
41 guacamole-dev)
42 DEPENDS="guacamole"
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/include $fs/usr
45 cp -a $install/usr/lib/*a $fs/usr/lib
46 ;;
47 esac
48 }