summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-28 06:26:45 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-28 06:26:45 +0000
commit8e9e7f24449491762e0ef7f0f9599b3a0b903d53 (patch)
tree2f62200e758c0d0e6f36bd1189520b128dba269f /net-misc/slidentd/slidentd-1.0.0.ebuild
parentTested and working on MIPS, adding ~mips keyword (diff)
downloadgentoo-2-8e9e7f24449491762e0ef7f0f9599b3a0b903d53.tar.gz
gentoo-2-8e9e7f24449491762e0ef7f0f9599b3a0b903d53.tar.bz2
gentoo-2-8e9e7f24449491762e0ef7f0f9599b3a0b903d53.zip
Punt dietlibc cruft.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-misc/slidentd/slidentd-1.0.0.ebuild')
-rw-r--r--net-misc/slidentd/slidentd-1.0.0.ebuild36
1 files changed, 19 insertions, 17 deletions
diff --git a/net-misc/slidentd/slidentd-1.0.0.ebuild b/net-misc/slidentd/slidentd-1.0.0.ebuild
index 1abdd64d7530..7e82b88e580d 100644
--- a/net-misc/slidentd/slidentd-1.0.0.ebuild
+++ b/net-misc/slidentd/slidentd-1.0.0.ebuild
@@ -1,33 +1,36 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/slidentd/slidentd-1.0.0.ebuild,v 1.5 2004/08/31 08:38:47 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/slidentd/slidentd-1.0.0.ebuild,v 1.6 2005/08/28 06:26:45 vapier Exp $
-DESCRIPTION="A secure, lightweight ident daemon."
-SRC_URI="http://www.uncarved.com/slidentd/${P}.tar.gz"
+DESCRIPTION="A secure, lightweight ident daemon"
HOMEPAGE="http://www.uncarved.com/slidentd/"
-KEYWORDS="x86 sparc ~ppc"
+SRC_URI="http://www.uncarved.com/slidentd/${P}.tar.gz"
+
LICENSE="GPL-2"
SLOT="0"
+KEYWORDS="~ppc sparc x86"
IUSE=""
-DEPEND="dev-libs/dietlibc
- dev-libs/libowfat
- >=sys-apps/sed-4"
-RDEPEND="virtual/inetd"
+DEPEND="dev-libs/libowfat"
+RDEPEND="${DEPEND}
+ virtual/inetd"
src_unpack() {
- unpack ${A} ; cd ${S}
- sed -i -e "s:^\tCFLAGS=\$(diet_cflag.*:\tCFLAGS=${CFLAGS} \${diet_cflags}:" \
- -e "s:^\tCC\:=diet -Os \$(CC):\tCC\:=diet -Os gcc:" \
- Makefile
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "/^normal_cflags/s:=.*:-DNDEBUG ${CFLAGS} -I/usr/include/libowfat:" \
+ -e '/ALL=/s:stripobjects::' \
+ -e '/ALL=/s:strip::' \
+ Makefile || die
}
src_compile() {
- make build_mode=diet INCLUDES=-I/usr/include/libowfat LIBDIRS=-L/usr/lib || die
+ emake -j1 build_mode=normal || die
}
src_install () {
- make DESTDIR=${D} install || die
+ make DESTDIR="${D}" install || die
exeinto /var/lib/supervise/slidentd
newexe ${FILESDIR}/slidentd-run run
@@ -35,6 +38,5 @@ src_install () {
pkg_postinst() {
einfo "You need to start your supervise service:"
- einfo '# ln -s /var/lib/supervise/slidentd/ /service'
- einfo
+ einfo '# ln -s /var/lib/supervise/slidentd /service/'
}