Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=5adae13b57e9d72c52ae71a186975dc9578980d8

commit 5adae13b57e9d72c52ae71a186975dc9578980d8
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Thu Nov 4 13:38:11 2010 +0100

bitlbee-3.0-2-i686

- add otr subpackage

diff --git a/source/network-extra/bitlbee/FrugalBuild 
b/source/network-extra/bitlbee/FrugalBuild
index d60e2e9..33ca2ac 100644
--- a/source/network-extra/bitlbee/FrugalBuild
+++ b/source/network-extra/bitlbee/FrugalBuild
@@ -6,13 +6,13 @@ USE_DEVEL=${USE_DEVEL:-"n"}
pkgname=bitlbee
pkgver=3.0
Fuse $USE_DEVEL && pkgver=1.3dev.bzr635
-pkgrel=1
+pkgrel=2
pkgdesc="An IRC to other chat networks gateway."
url="http://www.bitlbee.org/main.php/news.html";
# inetd: othervise it can't serve on port 6667
# tcp_wrappers: provides /usr/sbin/tcpd
rodepends=('inetd' 'tcp_wrappers')
-depends=('glib2' 'gnutls>=2.8' 'libgcrypt>=1.4' 'zlib')
+depends=('glib2' 'gnutls>=2.8')
Fuse $USE_DEVEL && makedepends=('docbook-xsl>=1.73.0-2' 'docbook-xml' 'xmlto')
backup=(etc/biltbee/{bitlbee.conf,motd.txt})
groups=('network-extra')
@@ -22,6 +22,13 @@ source=(http://get.bitlbee.org/src/$pkgname-$pkgver.tar.gz)
sha1sums=('c791d46b974187a1d4cf341418c3d1729f9b9658')
options=('scriptlet')

+subpkgs=('bitlbee-otr')
+subdescs=('OTR support for BitlBee.')
+subdepends=("libotr")
+subrodepends=("$pkgname-$pkgver")
+subgroups=('network-extra')
+subarchs=('i686 x86_64 ppc')
+
if Fuse $USE_DEVEL; then
unset source sha1sums
_F_scm_type="bzr"
@@ -34,13 +41,14 @@ fi
build() {
Fuse $USE_DEVEL && Funpack_scm
Fpatchall
-       Fmake --etcdir=/etc
+       Fmake --etcdir=/etc --otr=plugin
Fmkdir /var/lib/bitlbee
make DESTDIR=$Fdestdir install-etc install-dev || Fdie
Fmakeinstall
chown 503:503 $Fdestdir/var/lib/bitlbee || return 1
Fdocrel doc/{AUTHORS,CHANGES,FAQ,README}
Ffilerel doc/user-guide/* /usr/share/doc/$pkgname-$pkgver/user-guide/
+       Fsplit bitlbee-otr usr/lib/bitlbee/otr.so
}

# optimization OK
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to