void-packages/srcpkgs/libvncserver/template

25 lines
835 B
Bash

# Template file for 'libvncserver'
pkgname=libvncserver
version=0.9.12
revision=1
wrksrc="libvncserver-LibVNCServer-${version}"
build_style=cmake
hostmakedepends="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.org>"
license="GPL-2.0-or-later"
homepage="https://libvnc.github.io/"
distfiles="https://github.com/LibVNC/libvncserver/archive/LibVNCServer-${version}.tar.gz"
checksum=33cbbb4e15bb390f723c311b323cef4a43bcf781984f92d92adda3243a116136
libvncserver-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}