void-packages/srcpkgs/libvncserver/template
2016-12-30 18:29:23 +00:00

30 lines
939 B
Bash

# Template file for 'libvncserver'
pkgname=libvncserver
version=0.9.11
revision=1
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=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
}
}