summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-19 12:22:05 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-19 12:22:05 +0000
commit8210d19b0961918878d725ff5292befa0e8df146 (patch)
treeb35a563b15205f0b9083fcf022742ae5f5b64ad6 /net-www/lingerd
parentStable on amd64. (diff)
downloadgentoo-2-8210d19b0961918878d725ff5292befa0e8df146.tar.gz
gentoo-2-8210d19b0961918878d725ff5292befa0e8df146.tar.bz2
gentoo-2-8210d19b0961918878d725ff5292befa0e8df146.zip
arm/s390/sh love
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'net-www/lingerd')
-rw-r--r--net-www/lingerd/lingerd-0.94.ebuild17
1 files changed, 10 insertions, 7 deletions
diff --git a/net-www/lingerd/lingerd-0.94.ebuild b/net-www/lingerd/lingerd-0.94.ebuild
index 4e951930a0c3..7fbb728c30b5 100644
--- a/net-www/lingerd/lingerd-0.94.ebuild
+++ b/net-www/lingerd/lingerd-0.94.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/lingerd/lingerd-0.94.ebuild,v 1.15 2005/10/07 18:01:26 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/lingerd/lingerd-0.94.ebuild,v 1.16 2006/01/19 12:22:05 vapier Exp $
inherit eutils
@@ -10,22 +10,25 @@ SRC_URI="http://images.iagora.com/media/software/lingerd/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
IUSE=""
DEPEND=">=sys-apps/sed-4"
RDEPEND=""
+pkg_setup() {
+ enewuser lingerd
+}
+
src_compile() {
sed -i -e "s/\(CFLAGS = -Wall \).*/\1 ${CFLAGS}/g" Makefile || die "Makefile fixing failed."
emake || die "Emake failed."
}
src_install() {
- enewuser lingerd
- exeinto /usr/bin/ ; doexe lingerd || die "Installation failed."
- exeinto /etc/init.d ; newexe ${FILESDIR}/lingerd.rc lingerd
- dodoc ChangeLog LICENSE README TUNING INSTALL TODO extra/lingerd.rc
+ dobin lingerd || die "Installation failed."
+ newinitd "${FILESDIR}"/lingerd.rc lingerd
+ dodoc ChangeLog EADME TUNING INSTALL TODO extra/lingerd.rc
}
pkg_postinst() {