diff options
Diffstat (limited to 'sys-apps/einit/einit-0.14.0.500.ebuild')
-rw-r--r-- | sys-apps/einit/einit-0.14.0.500.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/sys-apps/einit/einit-0.14.0.500.ebuild b/sys-apps/einit/einit-0.14.0.500.ebuild new file mode 100644 index 000000000000..384e0bcb1bec --- /dev/null +++ b/sys-apps/einit/einit-0.14.0.500.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/einit/einit-0.14.0.500.ebuild,v 1.1 2006/12/30 02:45:43 vapier Exp $ + +inherit multilib + +DESCRIPTION="an alternate /sbin/init" +HOMEPAGE="http://einit.sourceforge.net/" +SRC_URI="mirror://sourceforge/einit/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="doc" + +RDEPEND="dev-libs/expat" +DEPEND="${RDEPEND} + doc? ( app-text/docbook-sgml app-doc/doxygen )" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i -e "/MODDIR/s:/lib/:/$(get_libdir)/:" configure +} + +src_compile() { + econf \ + --enable-linux \ + --use-posix-regex \ + --prefix=/ \ + || die + emake || die + if use doc ; then + emake documentation-html ||die + fi +} + +src_install() { + emake install DESTDIR="${D}" || die + dodoc AUTHORS ChangeLog + if use doc ; then + dohtml build/documentation/html/*.html + fi +} + +pkg_postinst() { + einfo "You can always find the latest documentation at" + einfo "http://einit.sourceforge.net/documentation/users/" + einfo +} |