void-packages/srcpkgs/silc-client/template

31 lines
947 B
Bash

# Template file for 'silc-client'
pkgname=silc-client
version=1.1.11
revision=1
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"
makedepends="silc-toolkit-devel ncurses-devel pcre-devel glib-devel"
hostmakedepends="pkg-config"
conf_files="/etc/silc.conf"
short_desc="Secure Internet Live Conferencing client"
maintainer='Juan RP <xtraeme@voidlinux.eu>'
license="GPL"
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