summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-06-19 05:30:21 +0000
committerMike Frysinger <vapier@gentoo.org>2004-06-19 05:30:21 +0000
commitf821d5ceda1470b9708aa195c35999887d46eba7 (patch)
treee90e9c2cd04c1afe4cde68647700d1285fff9456 /net-im/bitlbee/bitlbee-0.84.ebuild
parentStable on sparc. (Manifest recommit) (diff)
downloadgentoo-2-f821d5ceda1470b9708aa195c35999887d46eba7.tar.gz
gentoo-2-f821d5ceda1470b9708aa195c35999887d46eba7.tar.bz2
gentoo-2-f821d5ceda1470b9708aa195c35999887d46eba7.zip
fix some really nasty QA violations
Diffstat (limited to 'net-im/bitlbee/bitlbee-0.84.ebuild')
-rw-r--r--net-im/bitlbee/bitlbee-0.84.ebuild18
1 files changed, 7 insertions, 11 deletions
diff --git a/net-im/bitlbee/bitlbee-0.84.ebuild b/net-im/bitlbee/bitlbee-0.84.ebuild
index 1ba53a093142..329fbbc51820 100644
--- a/net-im/bitlbee/bitlbee-0.84.ebuild
+++ b/net-im/bitlbee/bitlbee-0.84.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/bitlbee-0.84.ebuild,v 1.4 2004/04/26 04:45:32 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/bitlbee-0.84.ebuild,v 1.5 2004/06/19 05:30:21 vapier Exp $
-inherit eutils
+inherit eutils gcc
-DESCRIPTION="Bitlbee is an irc to IM gateway that support multiple IM protocols"
+DESCRIPTION="irc to IM gateway that support multiple IM protocols"
HOMEPAGE="http://www.bitlbee.org"
SRC_URI="http://get.bitlbee.org/src/${P}.tar.gz"
@@ -56,19 +56,15 @@ src_compile() {
# make bitlbeed forking server
cd utils
- [ -n "${CC}" ] \
- && ${CC} ${CFLAGS} bitlbeed.c -o bitlbeed \
- || gcc ${CFLAGS} bitlbeed.c -o bitlbeed
-
+ $(gcc-getCC) ${CFLAGS} bitlbeed.c -o bitlbeed || die "bitlbeed failed to compile"
}
src_install() {
- mkdir -p ${D}/var/lib/bitlbee
+ dodir /var/lib/bitlbee
make install DESTDIR=${D} || die "install failed"
make install-etc DESTDIR=${D} || die "install failed"
keepdir /var/lib/bitlbee
- dodoc COPYING
dodoc doc/{AUTHORS,CHANGES,CREDITS,FAQ,README,TODO}
dohtml -A sgml doc/*.sgml
doman doc/bitlbee.8
@@ -90,6 +86,6 @@ src_install() {
}
pkg_postinst() {
- chown nobody:nobody /var/lib/bitlbee
- chmod 700 /var/lib/bitlbee
+ chown nobody:nobody ${ROOT}/var/lib/bitlbee
+ chmod 700 ${ROOT}/var/lib/bitlbee
}