void-packages/srcpkgs/silc-toolkit/template

34 lines
1.0 KiB
Plaintext

# Template file for 'silc-toolkit'
pkgname=silc-toolkit
version=1.1.10
revision=2
build_style=gnu-configure
configure_args="--with-perl=yes --with-simdir=/usr/lib/silc/modules
--enable-debug --enable-ipv6 --disable-optimizations
ac_cv_func_pthread_rwlock_init=set ac_cv_func_epoll_wait=set"
makedepends="gmp-devel libidn-devel"
hostmakedepends="nasm perl"
short_desc="Secure Internet Live Conferencing protocol toolkit"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="GPL"
homepage="http://www.silcnet.org/"
distfiles="http://www.silcnet.org/download/toolkit/sources/$pkgname-$version.tar.gz"
checksum=cc5b1094b027bd896241993ccd1609a37845d21b2f442556a7e9ddaef062630b
post_install() {
#Remove large (useless) documentation.
rm -rf usr/share/doc/silc-toolkit/toolkit
}
silc-toolkit-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/doc
}
}