summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/initng/initng-0.5.1.ebuild')
-rw-r--r--sys-apps/initng/initng-0.5.1.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/sys-apps/initng/initng-0.5.1.ebuild b/sys-apps/initng/initng-0.5.1.ebuild
new file mode 100644
index 000000000000..37689f8e0a4a
--- /dev/null
+++ b/sys-apps/initng/initng-0.5.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/initng/initng-0.5.1.ebuild,v 1.1 2006/01/13 08:52:09 vapier Exp $
+
+DESCRIPTION="A next generation init replacement"
+HOMEPAGE="http://initng.thinktux.net/"
+SRC_URI="http://initng.thinktux.net/download/v${PV:0:3}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="debug"
+
+src_compile() {
+ econf \
+ --prefix=/ \
+ --with-splash \
+ $(use_enable debug) \
+ --with-doc-dir=/usr/share/doc/${PF} \
+ || die
+ emake || die
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die
+ # Dont need libtool linker scripts, so punt em
+ find "${D}" -name '*.la' -exec rm {} \;
+ # other packages install these
+ rm "${D}"/sbin/{{ifplugd,wpa_cli}.action} || die
+ dodoc README FAQ AUTHORS ChangeLog NEWS TEMPLATE_HEADER TODO
+}
+
+pkg_postinst() {
+ einfo "remember to add init=/sbin/initng in your grub or lilo config"
+ einfo "to use initng Happy testing."
+}