void-packages/srcpkgs/silc-toolkit/template

35 lines
1 KiB
Bash

# Template file for 'silc-toolkit'
pkgname=silc-toolkit
version=1.1.12
revision=1
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='Juan RP <xtraeme@voidlinux.eu>'
license="GPL-2,BSD"
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 COPYING
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
}
}