wok-next view guacamole/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | 585216719e14 |
children | fc9ee6d3aa6f |
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 openssl 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 }