summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/daemontools/daemontools-0.76-r1.ebuild')
-rw-r--r--sys-apps/daemontools/daemontools-0.76-r1.ebuild18
1 files changed, 14 insertions, 4 deletions
diff --git a/sys-apps/daemontools/daemontools-0.76-r1.ebuild b/sys-apps/daemontools/daemontools-0.76-r1.ebuild
index a65325d24dd8..f992b5fc2cf4 100644
--- a/sys-apps/daemontools/daemontools-0.76-r1.ebuild
+++ b/sys-apps/daemontools/daemontools-0.76-r1.ebuild
@@ -1,31 +1,39 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/daemontools/daemontools-0.76-r1.ebuild,v 1.6 2002/08/14 04:40:34 murphy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/daemontools/daemontools-0.76-r1.ebuild,v 1.7 2002/09/23 13:47:05 raker Exp $
S=${WORKDIR}/admin/${P}
+
DESCRIPTION="Collection of tools for managing UNIX services"
SRC_URI="http://cr.yp.to/daemontools/${P}.tar.gz"
HOMEPAGE="http://cr.yp.to/daemontools.html"
+
KEYWORDS="x86 ppc sparc sparc64"
SLOT="0"
LICENSE="Freeware"
DEPEND="virtual/glibc"
+RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
-
cd ${S}
+
+ LDFLAGS=
+ use static && LDFLAGS="-static"
+
echo "gcc ${CFLAGS}" > src/conf-cc
- echo "gcc" > src/conf-ld
+ echo "gcc ${LDFLAGS}" > src/conf-ld
echo ${S} > src/home
+
}
src_compile() {
cd ${S}/src
- emake || die
+ emake || die "make failed"
+
}
src_install() {
@@ -41,11 +49,13 @@ src_install() {
do
doexe $x
done
+
dodoc CHANGES ../package/README TODO
einfo "Installing the svscan startup file ..."
insinto /etc/init.d
insopts -m755
doins ${FILESDIR}/svscan
+
}