Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=wipv.git;a=commitdiff;h=f13e21c13c16385f4fa4d425b831fc28af8704bc

commit f13e21c13c16385f4fa4d425b831fc28af8704bc
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Tue Aug 3 02:15:23 2010 +0200

bitlbee-1.2.8-1-i686

- add USE_DEVEL

diff --git a/source/network-extra/bitlbee/FrugalBuild 
b/source/network-extra/bitlbee/FrugalBuild
index 484a52a..c494f76 100644
--- a/source/network-extra/bitlbee/FrugalBuild
+++ b/source/network-extra/bitlbee/FrugalBuild
@@ -1,8 +1,11 @@
# Compiling Time: ~0.22 SBU
# Maintainer: voroskoi <voros...@frugalware.org>

+USE_DEVEL=${USE_DEVEL:-"n"}
+
pkgname=bitlbee
pkgver=1.2.8
+Fuse $USE_DEVEL && pkgver=1.3dev.bzr635
pkgrel=1
pkgdesc="An IRC to other chat networks gateway."
url="http://www.bitlbee.org/main.php/news.html";
@@ -10,6 +13,7 @@ url="http://www.bitlbee.org/main.php/news.html";
# tcp_wrappers: provides /usr/sbin/tcpd
rodepends=('inetd' 'tcp_wrappers')
depends=('glib2' 'gnutls>=2.8' 'libgcrypt>=1.4' 'zlib')
+Fuse $USE_DEVEL && makedepends=('docbook-xsl>=1.73.0-2' 'docbook-xml' 'xmlto')
backup=(etc/biltbee/{bitlbee.conf,motd.txt})
groups=('network-extra')
archs=('i686' 'x86_64' 'ppc')
@@ -18,9 +22,17 @@ source=(http://get.bitlbee.org/src/$pkgname-$pkgver.tar.gz)
sha1sums=('9c8cfea597d28604aa99c32c2a57b0087f42e6af')
options=('scriptlet')

+if Fuse $USE_DEVEL; then
+       unset source sha1sums
+       _F_scm_type="bzr"
+       _F_scm_url="http://code.bitlbee.org/bitlbee/";
+       Finclude scm
+fi
+
# TODO: rc.bitlbee

build() {
+       Fuse $USE_DEVEL && Funpack_scm
Fpatchall
Fmake --etcdir=/etc
Fmkdir /var/lib/bitlbee
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to