diff options
Diffstat (limited to 'app-admin/showconsole/showconsole-1.08.ebuild')
-rw-r--r-- | app-admin/showconsole/showconsole-1.08.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app-admin/showconsole/showconsole-1.08.ebuild b/app-admin/showconsole/showconsole-1.08.ebuild new file mode 100644 index 000000000000..aa13fb28d9a5 --- /dev/null +++ b/app-admin/showconsole/showconsole-1.08.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# This tarball is extracted from SuSe's sysvinit-2.86-#.src.rpm +# You can find said src rpm via opensuse.org: +# http://mirrors.kernel.org/opensuse/distribution/SL-OSS-*/inst-source/suse/src/ + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="small daemon for logging console output during boot" +HOMEPAGE="http://www.novell.com/linux/suse/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh ~sparc x86" +IUSE="" + +DEPEND="" + +src_unpack() { + unpack ${P}.tar.bz2 + cd "${S}" + epatch "${FILESDIR}"/1.07-no-TIOCGDEV.patch + epatch "${FILESDIR}"/${P}-quiet.patch + epatch "${FILESDIR}"/${P}-no-pthread-yield.patch #119762 + epatch "${FILESDIR}"/${P}-build.patch #143768 +} + +src_compile() { + emake COPTS="${CFLAGS}" CC="$(tc-getCC)" || die "emake failed" +} + +src_install() { + make install DESTDIR="${D}" || die "install failed" + insinto /$(get_libdir)/rcscripts/addons + doins "${FILESDIR}"/bootlogger.sh || die "rcscript addon" + rmdir "${D}"/usr/lib/lsb || die + dodoc showconsole-*.lsm README +} |