wok-next annotate libvncserver/receipt @ rev 21592

updated dkms (2.1.1.2 -> 2.8.2)
author Hans-G?nter Theisgen
date Wed Jun 24 07:35:54 2020 +0100 (2020-06-24)
parents d5aab818505e
children
rev   line source
al@20332 1 # SliTaz package receipt v2.
slaxemulator@6742 2
slaxemulator@6742 3 PACKAGE="libvncserver"
al@20332 4 VERSION="0.9.11"
slaxemulator@6742 5 CATEGORY="network"
al@20332 6 SHORT_DESC="VNC library"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@14718 8 LICENSE="GPL2"
al@20332 9 WEB_SITE="http://libvnc.github.io/"
slaxemulator@6742 10
al@20332 11 TARBALL="LibVNCServer-$VERSION.tar.gz"
al@20332 12 WGET_URL="https://github.com/LibVNC/libvncserver/archive/$TARBALL"
pascal@14718 13
al@21078 14 BUILD_DEPENDS="automake libtool openssl-dev libjpeg-turbo-dev libpng-dev"
al@21020 15 SPLIT="$PACKAGE-novnc $PACKAGE-dev"
al@20332 16
al@20332 17 compile_rules() {
al@20595 18 ./autogen.sh \
al@20595 19 $CONFIGURE_ARGS &&
al@20595 20 fix libtool &&
al@20595 21 make &&
al@20595 22 make install || return 1
al@20332 23
al@20332 24 mkdir -p $install/var/www
al@20332 25 cp -r webclients/novnc $install/var/www
slaxemulator@6742 26 }
slaxemulator@6742 27
al@20332 28 genpkg_rules() {
al@20332 29 case $PACKAGE in
al@20332 30 libvncserver)
al@20332 31 copy *.so*
al@21078 32 DEPENDS="openssl libjpeg-turbo libpng zlib"
al@20332 33 ;;
al@20332 34 libvncserver-novnc)
al@20332 35 copy novnc/
al@20332 36 CAT="network|noVNC web client"
al@20332 37 DEPENDS=" "
al@20332 38 ;;
al@20332 39 *-dev)
al@20332 40 copy @dev
al@20332 41 rm -r $fs/var # it includes 'include/' too and false recognized as dev files
al@21078 42 DEPENDS="libvncserver libjpeg-turbo-dev libpng-dev openssl-dev \
al@20332 43 zlib-dev"
al@20332 44 ;;
al@20332 45 esac
slaxemulator@6742 46 }