summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-14 04:45:22 +0000
committerMike Frysinger <vapier@gentoo.org>2009-01-14 04:45:22 +0000
commit3f7dd34ab2ce1f1a2b2bdcd6a001228bb1a01bee (patch)
tree443e11d2cc180edab94f2063a5219eb767ef5303 /net-im/reaim
parentFix by Bandan for building with newer glibc #227923. (diff)
downloadgentoo-2-3f7dd34ab2ce1f1a2b2bdcd6a001228bb1a01bee.tar.gz
gentoo-2-3f7dd34ab2ce1f1a2b2bdcd6a001228bb1a01bee.tar.bz2
gentoo-2-3f7dd34ab2ce1f1a2b2bdcd6a001228bb1a01bee.zip
Cleanup ebuild a bit.
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'net-im/reaim')
-rw-r--r--net-im/reaim/ChangeLog7
-rw-r--r--net-im/reaim/reaim-0.8.ebuild35
2 files changed, 14 insertions, 28 deletions
diff --git a/net-im/reaim/ChangeLog b/net-im/reaim/ChangeLog
index 5c56d8107b66..2cc46a7a6fd5 100644
--- a/net-im/reaim/ChangeLog
+++ b/net-im/reaim/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-im/reaim
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/reaim/ChangeLog,v 1.6 2007/05/06 11:59:59 genone Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/reaim/ChangeLog,v 1.7 2009/01/14 04:45:22 vapier Exp $
+
+ 14 Jan 2009; Mike Frysinger <vapier@gentoo.org> reaim-0.8.ebuild:
+ Cleanup ebuild a bit.
06 May 2007; Marius Mauch <genone@gentoo.org> reaim-0.8.ebuild:
Replacing einfo with elog
diff --git a/net-im/reaim/reaim-0.8.ebuild b/net-im/reaim/reaim-0.8.ebuild
index e1b1ab055a08..29fd9e7f5e07 100644
--- a/net-im/reaim/reaim-0.8.ebuild
+++ b/net-im/reaim/reaim-0.8.ebuild
@@ -1,45 +1,28 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/reaim/reaim-0.8.ebuild,v 1.5 2007/05/06 11:59:59 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/reaim/reaim-0.8.ebuild,v 1.6 2009/01/14 04:45:22 vapier Exp $
DESCRIPTION="AIM transport proxy over NAT firewalls"
HOMEPAGE="http://reaim.sourceforge.net/"
SRC_URI="mirror://sourceforge/reaim/${P}.tar.gz"
+
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~ppc"
+KEYWORDS="~ppc ~x86"
IUSE=""
+
DEPEND=">=sys-apps/sed-4"
RDEPEND="net-firewall/iptables"
src_unpack() {
unpack ${A}
- cd ${S}
- sed -i -e 's:-g -Wall:${CFLAGS} -g -Wall:g' Makefile
-}
-
-src_compile() {
- emake || die "emake failed"
+ cd "${S}"
+ sed -i -e '/gcc/d' Makefile # use implicit rule
}
src_install() {
- insinto /usr/sbin
- insopts -o root -g root -m 0750 ; doins reaim
-
+ dosbin reaim || die
doman reaim.8
dodoc html/*
-
- newinitd ${FILESDIR}/reaim reaim
-}
-
-pkg_postinst() {
- elog "In order to use reaim, run the rc script in /etc/init.d."
- elog
- elog "To start:"
- elog " /etc/init.d/reaim start"
- elog "To stop:"
- elog " /etc/init.d/reaim stop"
- elog
- elog "To have reaim start at each system startup, run the following:"
- elog " rc-update add reaim default"
+ newinitd "${FILESDIR}"/reaim reaim
}