bitlbee: libpurple support (default: off)

Closes: #7907
This commit is contained in:
Jürgen Buchmüller 2017-12-31 16:19:46 +01:00
parent f733922bcc
commit e5cf6d0109
2 changed files with 21 additions and 3 deletions

View file

@ -0,0 +1,12 @@
--- configure
+++ configure
@@ -620,8 +620,6 @@ elif [ "$ssl" = "openssl" ]; then
echo ' * for use in the OpenSSL Toolkit. (http://www.openssl.org/)"'
echo 'EFLAGS+=-lssl -lcrypto' >> Makefile.settings
-
- ret=1
else
echo
echo 'ERROR: Unknown SSL library specified.'

View file

@ -1,14 +1,16 @@
# Template file for 'bitlbee'
pkgname=bitlbee
version=3.5.1
revision=2
revision=3
build_style=gnu-configure
configure_args="--etcdir=/etc/bitlbee --sbindir=/usr/bin
--pidfile=/run/${pkgname}/${pkgname}.pid
--ipcsocket=/run/${pkgname}/${pkgname}.sock
--ssl=openssl --strip=0 --otr=plugin --skype=plugin"
--ssl=openssl --strip=0 --otr=plugin --skype=plugin
$(vopt_if purple --purple=1 --purple=0)"
hostmakedepends="pkg-config asciidoc"
makedepends="libgcrypt-devel libotr-devel libressl-devel libglib-devel"
makedepends="libgcrypt-devel libotr-devel libressl-devel libglib-devel
$(vopt_if purple libpurple-devel)"
make_install_args="install-etc"
short_desc="Brings instant messaging (XMPP, MSN, Yahoo!, AIM, ICQ, Twitter) to IRC"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -17,6 +19,9 @@ homepage="http://www.bitlbee.org/"
distfiles="http://get.bitlbee.org/src/$pkgname-$version.tar.gz"
checksum=9636d7fd89ebb3756c13a9a3387736ca6d56ccf66ec0580d512f07b21db0fa69
build_options="purple"
desc_option_purple="Build with libpurple support"
system_accounts="$pkgname"
bitlbee_homedir="/var/lib/$pkgname"
@ -29,6 +34,7 @@ conf_files="
post_install() {
vsv $pkgname
}
bitlbee-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision} ${makedepends}"