void-packages/srcpkgs/libvncserver/template
2018-11-04 23:17:19 +01:00

30 lines
950 B
Bash

# Template file for 'libvncserver'
pkgname=libvncserver
version=0.9.11
revision=6
wrksrc="libvncserver-LibVNCServer-${version}"
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="zlib-devel libjpeg-turbo-devel libpng-devel libressl-devel gnutls-devel"
short_desc="C libraries to easily implement VNC server or client functionality"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="https://libvnc.github.io/"
distfiles="https://github.com/LibVNC/libvncserver/archive/LibVNCServer-${version}.tar.gz"
checksum=193d630372722a532136fd25c5326b2ca1a636cbb8bf9bb115ef869c804d2894
pre_configure() {
autoreconf -fi
}
libvncserver-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/libvncserver-config
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}