summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiaran McCreesh <ciaranm@gentoo.org>2005-03-03 17:20:51 +0000
committerCiaran McCreesh <ciaranm@gentoo.org>2005-03-03 17:20:51 +0000
commitfd59101c3de0c5d160c5daefcfb8677919c5818b (patch)
treef0e9f088fb114d5e480a4876b7dabb21eb3030eb /sys-process/supervise-scripts/supervise-scripts-3.5.ebuild
parentNew snapshot version (diff)
downloadgentoo-2-fd59101c3de0c5d160c5daefcfb8677919c5818b.tar.gz
gentoo-2-fd59101c3de0c5d160c5daefcfb8677919c5818b.tar.bz2
gentoo-2-fd59101c3de0c5d160c5daefcfb8677919c5818b.zip
Moved from sys-apps/supervise-scripts to sys-process/supervise-scripts.
Diffstat (limited to 'sys-process/supervise-scripts/supervise-scripts-3.5.ebuild')
-rw-r--r--sys-process/supervise-scripts/supervise-scripts-3.5.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/sys-process/supervise-scripts/supervise-scripts-3.5.ebuild b/sys-process/supervise-scripts/supervise-scripts-3.5.ebuild
new file mode 100644
index 000000000000..1797990e7ec4
--- /dev/null
+++ b/sys-process/supervise-scripts/supervise-scripts-3.5.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/supervise-scripts/supervise-scripts-3.5.ebuild,v 1.1 2005/03/03 17:20:51 ciaranm Exp $
+
+inherit fixheadtails toolchain-funcs
+
+DESCRIPTION="Starting and stopping daemontools managed services"
+HOMEPAGE="http://untroubled.org/supervise-scripts/"
+SRC_URI="http://untroubled.org/supervise-scripts/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc sparc x86"
+IUSE=""
+
+RDEPEND=">=sys-apps/daemontools-0.70"
+DEPEND=">=sys-apps/daemontools-0.70
+ dev-libs/bglibs
+ sys-devel/gcc-config"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ echo '/usr/bin' > conf-bin
+ echo '/usr/lib/bglibs/lib' > conf-bglibs
+ echo '/usr/lib/bglibs/include' > conf-bgincs
+ echo "$(tc-getCC) ${CFLAGS}" >conf-cc
+ echo "$(tc-getCC) ${LDFLAGS}" >conf-ld
+ ht_fix_file svscan-add-to-inittab.in Makefile
+}
+
+src_compile() {
+ # does NOT support parallel make
+ make || die
+}
+
+src_install() {
+ dobin svc-add svc-isdown svc-isup svc-remove \
+ svc-start svc-status svc-stop svc-restart \
+ svc-waitdown svc-waitup svscan-add-to-inittab \
+ svscan-add-to-inittab svscan-start svscan-stopall || die
+ dodoc ANNOUNCEMENT ChangeLog NEWS README TODO VERSION
+ doman *.[0-9]
+}