void-packages/srcpkgs/libvncserver/template

26 lines
873 B
Bash

# Template file for 'libvncserver'
pkgname=libvncserver
version=0.9.13
revision=2
wrksrc="libvncserver-LibVNCServer-${version}"
build_style=cmake
confiugre_args="-DWITH_OPENSSL=ON -DWITH_GNUTLS=OF"
hostmakedepends="pkg-config"
makedepends="zlib-devel libjpeg-turbo-devel libpng-devel openssl-devel"
short_desc="C libraries to easily implement VNC server or client functionality"
maintainer="Orphaned <orphan@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=0ae5bb9175dc0a602fe85c1cf591ac47ee5247b87f2bf164c16b05f87cbfa81a
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
}
}