wok-next view libvncserver/receipt @ rev 20529
Up libblockdev (2.16), nspr (4.18), openssh (7.6p1), udisks2 (2.7.6).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Mar 24 15:55:55 2018 +0200 (2018-03-24) |
parents | fbd490ef13ef |
children | 5841522533ec |
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="openssl libjpeg-turbo libpng16 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 }