wok-next view libvncserver/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | 5841522533ec |
children | 5669e8b3be70 |
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="devel@slitaz.org"
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="$PACKAGE-novnc $PACKAGE-dev"
17 compile_rules() {
18 ./autogen.sh \
19 $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make install || return 1
24 mkdir -p $install/var/www
25 cp -r webclients/novnc $install/var/www
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 libvncserver)
31 copy *.so*
32 DEPENDS="openssl libjpeg-turbo libpng16 zlib"
33 ;;
34 libvncserver-novnc)
35 copy novnc/
36 CAT="network|noVNC web client"
37 DEPENDS=" "
38 ;;
39 *-dev)
40 copy @dev
41 rm -r $fs/var # it includes 'include/' too and false recognized as dev files
42 DEPENDS="libvncserver libjpeg-turbo-dev libpng16-dev openssl-dev \
43 zlib-dev"
44 ;;
45 esac
46 }