silc-client: added perl option (off); misc fixes.
This commit is contained in:
parent
a5d717b18b
commit
0d8917f60d
1 changed files with 18 additions and 6 deletions
|
@ -1,9 +1,9 @@
|
|||
# Template file for 'silc-client'
|
||||
pkgname=silc-client
|
||||
version=1.1.8
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-debug --enable-ipv6 --disable-optimizations --with-perl=yes
|
||||
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"
|
||||
|
@ -14,13 +14,25 @@ homepage="http://www.silcnet.org/"
|
|||
distfiles="http://www.silcnet.org/download/client/sources/$pkgname-$version.tar.gz"
|
||||
checksum=aac435e4fbe37ef1aabafcbc4ab224e29b76d23439ca75f4c4945d8164ed71d2
|
||||
|
||||
do_build() {
|
||||
make CC=$CC INCS="-I." LIBS="-lsilcclient -lpthread -lsilc -lncurses" ${makejobs}
|
||||
}
|
||||
LDFLAGS="-lncursesw"
|
||||
|
||||
# Package build options
|
||||
build_options="perl"
|
||||
desc_option_perl="Enable support for perl scripting"
|
||||
|
||||
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
|
||||
|
||||
silc-client_package() {
|
||||
conf_files="/etc/silc.conf"
|
||||
pkg_install() {
|
||||
vmove usr
|
||||
vmove all
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue