blob: dd5342a8e74feded2bb1a70699cee8f662e147a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/runset/runset-1.6.ebuild,v 1.2 2004/06/24 21:37:06 agriffis Exp $
DESCRIPTION="Runset Init suite, a replacement for sysv style initd"
HOMEPAGE="http://www.icewalkers.com/softlib/app/app_00233.html"
SRC_URI="ftp://ftp.ocis.net/pub/users/ldeutsch/release/${P}.tar.bz2"
IUSE=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc"
DEPEND="virtual/glibc"
src_unpack() {
unpack ${A}
cd ${S}
sed -i -e "s/\(int planned_shutdown;\)/volatile \1/" runset/common.h
}
src_compile() {
econf || die
emake || die
}
src_install() {
# fix info file
cat << EOF >> doc/runset.info
INFO-DIR-SECTION Admin
START-INFO-DIR-ENTRY
* runset: (runset).
END-INFO-DIR-ENTRY
EOF
make DESTDIR=${D} install || die
dodoc AUTHORS ChangeLog LSM NEWS README
cp -a ${S}/sample ${D}/usr/share/doc/${PF}/
}
|