void-packages/srcpkgs/silc-toolkit/template

34 lines
1 KiB
Bash

# Template file for 'silc-toolkit'
pkgname=silc-toolkit
version=1.1.12
revision=3
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"
hostmakedepends="nasm perl"
makedepends="gmp-devel libidn-devel"
short_desc="Secure Internet Live Conferencing protocol toolkit"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, BSD-3-Clause"
homepage="http://www.silcnet.org/"
distfiles="${SOURCEFORGE_SITE}/silc/silc/client/sources/$pkgname-$version.tar.bz2"
checksum=be170288f79fbe34971fc26fe762a8329621e11a117f20c218857f2bbad24d6e
post_install() {
#Remove large (useless) documentation.
rm -rf usr/share/doc/silc-toolkit/toolkit
vlicense BSD
}
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
}
}