summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Ostorga <vostorga@gentoo.org>2009-08-30 17:39:55 +0000
committerVictor Ostorga <vostorga@gentoo.org>2009-08-30 17:39:55 +0000
commit4bd0fdeecde886534346d6c516da250542b4fa4d (patch)
tree5684abab3c2c7fcd61dfbb43f9567f77e4c71662 /sys-process/minit/minit-0.10.ebuild
parentAdd libsoup dep, bug #283259 (diff)
downloadhistorical-4bd0fdeecde886534346d6c516da250542b4fa4d.tar.gz
historical-4bd0fdeecde886534346d6c516da250542b4fa4d.tar.bz2
historical-4bd0fdeecde886534346d6c516da250542b4fa4d.zip
Adding Andreas Wiese <aw@instandbesetzt.net> and myself as maintainers, Fixing build , bugs #248443 and #270144 , patch thanks to Andreas Wiese
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'sys-process/minit/minit-0.10.ebuild')
-rw-r--r--sys-process/minit/minit-0.10.ebuild25
1 files changed, 20 insertions, 5 deletions
diff --git a/sys-process/minit/minit-0.10.ebuild b/sys-process/minit/minit-0.10.ebuild
index eede83401652..ef8ffd61c8fe 100644
--- a/sys-process/minit/minit-0.10.ebuild
+++ b/sys-process/minit/minit-0.10.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/minit/minit-0.10.ebuild,v 1.1 2007/01/05 02:30:44 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/minit/minit-0.10.ebuild,v 1.2 2009/08/30 17:39:54 vostorga Exp $
inherit eutils
@@ -14,15 +14,30 @@ KEYWORDS="~x86"
IUSE=""
DEPEND="dev-libs/libowfat
- dev-libs/dietlibc"
+ dev-libs/dietlibc"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+
+ epatch "${FILESDIR}"/minit-0.10-fixes.diff
+}
src_compile() {
- emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" DIET="" || die
+ use sparc && DIET='' || DIET=diet
+ emake CFLAGS="${CFLAGS} -I/usr/include/libowfat" \
+ LDFLAGS="${LDFLAGS}" DIET="${DIET}" || die
}
src_install() {
- emake install DESTDIR="${D}" || die
+ emake install-files DESTDIR="${D}" || die
mv "${D}"/sbin/shutdown "${D}"/sbin/minit-shutdown || die
+ mv "${D}"/sbin/killall5 "${D}"/sbin/minit-killall5 || die
rm "${D}"/sbin/init || die
dodoc CHANGES README TODO
}
+
+pkg_postinst() {
+ [ -e /etc/minit/in ] || mkfifo "${ROOT}"/etc/minit/in
+ [ -e /etc/minit/out ] || mkfifo "${ROOT}"/etc/minit/out
+}