wok-next view libvncserver/receipt @ rev 20403
gnome-games: don't use 'games' group: it needs to add users to group 'games' or it will not work...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Dec 05 20:28:37 2017 +0200 (2017-12-05) |
parents | d88fe67c4f82 |
children | e6615350078d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libvncserver"
4 VERSION="0.9.11"
5 CATEGORY="network"
6 SHORT_DESC="VNC library"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://libvnc.github.io/"
11 TARBALL="LibVNCServer-$VERSION.tar.gz"
12 WGET_URL="https://github.com/LibVNC/libvncserver/archive/$TARBALL"
14 BUILD_DEPENDS="automake libtool openssl-dev libjpeg-turbo-dev libpng16-dev"
15 SPLIT="libvncserver-novnc libvncserver-dev"
17 compile_rules() {
18 ./autogen.sh $CONFIGURE_ARGS &&
19 make && make install || return 1
21 mkdir -p $install/var/www
22 cp -r webclients/novnc $install/var/www
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 libvncserver)
28 copy *.so*
29 DEPENDS="libcrypto libjpeg-turbo libpng16 libssl zlib"
30 ;;
31 libvncserver-novnc)
32 copy novnc/
33 CAT="network|noVNC web client"
34 DEPENDS=" "
35 ;;
36 *-dev)
37 copy @dev
38 rm -r $fs/var # it includes 'include/' too and false recognized as dev files
39 DEPENDS="libvncserver libjpeg-turbo-dev libpng16-dev openssl-dev \
40 zlib-dev"
41 ;;
42 esac
43 }