wok-next view libvncserver/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents d5aab818505e
children
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 libpng-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 libpng 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 libpng-dev openssl-dev \
43 zlib-dev"
44 ;;
45 esac
46 }