/[gentoo-x86]/sys-apps/supervise-scripts/supervise-scripts-3.5.ebuild
Gentoo

Contents of /sys-apps/supervise-scripts/supervise-scripts-3.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.16 - (show annotations) (download)
Thu Mar 3 17:27:48 2005 UTC (14 years, 11 months ago) by ciaranm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.15: +1 -1 lines
FILE REMOVED
Moved to sys-process/supervise-scripts.

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/supervise-scripts/supervise-scripts-3.5.ebuild,v 1.15 2005/01/02 23:53:55 ciaranm Exp $
4
5 inherit fixheadtails toolchain-funcs
6
7 DESCRIPTION="Starting and stopping daemontools managed services"
8 HOMEPAGE="http://untroubled.org/supervise-scripts/"
9 SRC_URI="http://untroubled.org/supervise-scripts/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="alpha amd64 ppc sparc x86"
14 IUSE=""
15
16 RDEPEND=">=sys-apps/daemontools-0.70"
17 DEPEND=">=sys-apps/daemontools-0.70
18 dev-libs/bglibs
19 sys-devel/gcc-config"
20
21 src_unpack() {
22 unpack ${A}
23 cd ${S}
24 echo '/usr/bin' > conf-bin
25 echo '/usr/lib/bglibs/lib' > conf-bglibs
26 echo '/usr/lib/bglibs/include' > conf-bgincs
27 echo "$(tc-getCC) ${CFLAGS}" >conf-cc
28 echo "$(tc-getCC) ${LDFLAGS}" >conf-ld
29 ht_fix_file svscan-add-to-inittab.in Makefile
30 }
31
32 src_compile() {
33 # does NOT support parallel make
34 make || die
35 }
36
37 src_install() {
38 dobin svc-add svc-isdown svc-isup svc-remove \
39 svc-start svc-status svc-stop svc-restart \
40 svc-waitdown svc-waitup svscan-add-to-inittab \
41 svscan-add-to-inittab svscan-start svscan-stopall || die
42 dodoc ANNOUNCEMENT ChangeLog NEWS README TODO VERSION
43 doman *.[0-9]
44 }

  ViewVC Help
Powered by ViewVC 1.1.20