blob: 0a8f0d0db73a5610be40716ca034c7c674d2ae00 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit eutils
DESCRIPTION="An alternative to sysvinit which supports the need(8) concept"
HOMEPAGE="http://john.fremlin.de/programs/linux/jinit/"
SRC_URI="http://john.fremlin.de/programs/linux/jinit/download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-amd64 ~ppc ~sparc ~x86"
IUSE=""
DEPEND=""
RDEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-gcc43.patch
}
src_install() {
emake DESTDIR="${D}" install || die "failed emake install"
emake prefix="${D}"/usr/share/doc/${PF}/example-setup install-initscripts \
|| die "failed installing example setup"
mv "${D}"/usr/sbin "${D}"/ || die
mv "${D}"/sbin/init "${D}"/sbin/jinit || die
mv "${D}"/sbin/shutdown "${D}"/sbin/jinit-shutdown || die
dodoc AUTHORS ChangeLog NEWS README TODO || die
}
|