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
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')
-rw-r--r--net-im/bitlbee/bitlbee-0.84.ebuild18
-rw-r--r--net-im/bitlbee/bitlbee-0.85a.ebuild22
-rw-r--r--net-im/bitlbee/bitlbee-0.90.ebuild22
3 files changed, 25 insertions, 37 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
}
diff --git a/net-im/bitlbee/bitlbee-0.85a.ebuild b/net-im/bitlbee/bitlbee-0.85a.ebuild
index 8cbb8ce8b2b2..c2eff4302c21 100644
--- a/net-im/bitlbee/bitlbee-0.85a.ebuild
+++ b/net-im/bitlbee/bitlbee-0.85a.ebuild
@@ -1,16 +1,16 @@
# 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.85a.ebuild,v 1.5 2004/04/26 04:45:32 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/bitlbee-0.85a.ebuild,v 1.6 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"
-HOMEPAGE="http://www.bitlbee.org"
+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"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 sparc ~alpha ~ia64 ~ppc"
+KEYWORDS="x86 ~ppc sparc ~alpha ~ia64"
IUSE="debug jabber msn oscar yahoo"
DEPEND="virtual/glibc
@@ -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
}
diff --git a/net-im/bitlbee/bitlbee-0.90.ebuild b/net-im/bitlbee/bitlbee-0.90.ebuild
index d538d41ddf03..c77a212253cd 100644
--- a/net-im/bitlbee/bitlbee-0.90.ebuild
+++ b/net-im/bitlbee/bitlbee-0.90.ebuild
@@ -1,16 +1,16 @@
# 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.90.ebuild,v 1.1 2004/05/30 01:06:41 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/bitlbee/bitlbee-0.90.ebuild,v 1.2 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"
-HOMEPAGE="http://www.bitlbee.org"
+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"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~sparc ~alpha ~ia64 ~ppc"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~ia64"
IUSE="debug jabber msn oscar yahoo flood"
DEPEND="virtual/glibc
@@ -60,19 +60,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,RELEASE-SPEECH-0.90,TODO}
dohtml -A sgml doc/*.sgml
dohtml doc/*.html
@@ -99,8 +95,8 @@ 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
einfo "The utils included in bitlbee (other than bitlbeed) are now"
einfo "located in /usr/share/bitlbee"
}