diff options
Diffstat (limited to 'sys-apps/lkcdutils/lkcdutils-6.2.0.ebuild')
-rw-r--r-- | sys-apps/lkcdutils/lkcdutils-6.2.0.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sys-apps/lkcdutils/lkcdutils-6.2.0.ebuild b/sys-apps/lkcdutils/lkcdutils-6.2.0.ebuild new file mode 100644 index 000000000000..c61b909da01b --- /dev/null +++ b/sys-apps/lkcdutils/lkcdutils-6.2.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="Linux Kernel Crash Dumps (LKCD) Utilities" +HOMEPAGE="http://lkcd.sourceforge.net/" +SRC_URI="mirror://sourceforge/lkcd/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~s390" +IUSE="" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-build.patch +} + +src_compile() { + ./configure \ + --cflags="${CFLAGS} ${CPPFLAGS}" \ + --lflags="${LDFLAGS}" \ + || die + emake || die "make failed" +} + +src_install() { + emake install ROOT="${D}" || die "install failed" + rm -r "${D}"/etc/sysconfig +} |