void-packages/srcpkgs/silc-client/template

32 lines
957 B
Bash

# Template file for 'silc-client'
pkgname=silc-client
version=1.1.11
revision=2
build_style=gnu-configure
configure_args="--enable-debug --enable-ipv6 --disable-optimizations
ac_cv_func_pthread_rwlock_init=set ac_cv_func_epoll_wait=set"
conf_files="/etc/silc.conf"
hostmakedepends="pkg-config"
makedepends="silc-toolkit-devel ncurses-devel pcre-devel glib-devel"
short_desc="Secure Internet Live Conferencing client"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://www.silcnet.org/client.html"
distfiles="${SOURCEFORGE_SITE}/silc/silc/client/sources/$pkgname-$version.tar.bz2"
checksum=36dfc3782e5949433fb8b0f1acf599426fb706555d343095641a49dbaa1b978d
LDFLAGS="-lncursesw"
# Package build options
build_options="perl"
if [ "$build_option_perl" ]; then
configure_args+=" --with-perl"
hostmakedepends+=" perl"
else
configure_args+=" --without-perl"
post_install() {
rm -rf ${DESTDIR}/usr/share/silc/scripts
}
fi