void-packages/srcpkgs/libvncserver/template

31 lines
939 B
Bash

# Template file for 'libvncserver'
pkgname=libvncserver
version=0.9.10
revision=3
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>"
homepage="https://libvnc.github.io/"
license="GPL-2"
distfiles="https://github.com/LibVNC/libvncserver/archive/LibVNCServer-${version}.tar.gz"
checksum=ed10819a5bfbf269969f97f075939cc38273cc1b6d28bccfb0999fba489411f7
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
}
}