diff options
-rw-r--r-- | sys-apps/lkcdutils/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/lkcdutils/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/lkcdutils/files/digest-lkcdutils-4.1.1 | 3 | ||||
-rw-r--r-- | sys-apps/lkcdutils/lkcdutils-4.1.1.ebuild | 63 | ||||
-rw-r--r-- | sys-apps/lkcdutils/metadata.xml | 9 |
5 files changed, 88 insertions, 0 deletions
diff --git a/sys-apps/lkcdutils/ChangeLog b/sys-apps/lkcdutils/ChangeLog new file mode 100644 index 000000000000..d78bfb7e241f --- /dev/null +++ b/sys-apps/lkcdutils/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sys-apps/lkcdutils +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lkcdutils/ChangeLog,v 1.1 2004/04/18 03:53:40 randy Exp $ + +*lkcdutils-4.1.1 (17 Apr 2004) + + 17 Apr 2004; Michael McCabe <randy@gentoo.org> +lkcdutils-4.1.1.ebuild: + New ebuild submitted by Jochen Eisinger <jochen@penguin-breeder.org> + diff --git a/sys-apps/lkcdutils/Manifest b/sys-apps/lkcdutils/Manifest new file mode 100644 index 000000000000..76fe72152f98 --- /dev/null +++ b/sys-apps/lkcdutils/Manifest @@ -0,0 +1,4 @@ +MD5 d1a435f10a66e467047aa5c76c96d171 lkcdutils-4.1.1.ebuild 1814 +MD5 de7d167cc728777696ee5c269919e210 ChangeLog 305 +MD5 4e6b1136b128c7d332c13b4202d058bb metadata.xml 302 +MD5 f670700ebad630dced7713f9c08e0ca7 files/digest-lkcdutils-4.1.1 210 diff --git a/sys-apps/lkcdutils/files/digest-lkcdutils-4.1.1 b/sys-apps/lkcdutils/files/digest-lkcdutils-4.1.1 new file mode 100644 index 000000000000..b02475c5fa65 --- /dev/null +++ b/sys-apps/lkcdutils/files/digest-lkcdutils-4.1.1 @@ -0,0 +1,3 @@ +MD5 a647c37fa995d0e7b2b26ea02ef38dbc lkcdutils-4.1-1.src.rpm 1502922 +MD5 76e1448879cdc479dc12df4a4de65b85 lkcdutils-4.1-savedump.tar.gz 21626 +MD5 79cea60161ec2e43a220e06aa9b5b7d7 lkcdutils-4.1-dhv8.tar.gz 8227 diff --git a/sys-apps/lkcdutils/lkcdutils-4.1.1.ebuild b/sys-apps/lkcdutils/lkcdutils-4.1.1.ebuild new file mode 100644 index 000000000000..db6610af350d --- /dev/null +++ b/sys-apps/lkcdutils/lkcdutils-4.1.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lkcdutils/lkcdutils-4.1.1.ebuild,v 1.1 2004/04/18 03:53:40 randy Exp $ + + +DESCRIPTION="Linux Kernel Crash Dumps (LKCD) Utilities" +SRC_URI="http://lkcd.sourceforge.net/download/OLD/4.1.1/lkcdutils/lkcdutils-4.1-1.src.rpm + mirror://gentoo/lkcdutils-4.1-savedump.tar.gz + mirror://gentoo/lkcdutils-4.1-dhv8.tar.gz" +HOMEPAGE="http://lkcd.sourceforge.net/ http://oss.software.ibm.com/developerworks/opensource/linux390/june2003_recommended.shtml" +LICENSE="GPL-2" +KEYWORDS="s390" +SLOT="0" +DEPEND="app-arch/rpm2targz + dev-util/byacc" + +MY_P=${P/4.1.1/4.1} +S="${WORKDIR}/${MY_P}" + +src_unpack() { + ebegin "Unpacking lkcd distribution..." + # This is the same as using rpm2targz then extracting 'cept that + # it's faster, less work, and less hard disk space. rpmoffset is + # provided by the rpm2targz package. + i="${DISTDIR}/${PN}-4.1-1.src.rpm" + dd ibs=`rpmoffset < ${i}` skip=1 if=$i 2>/dev/null \ + | gzip -dc | cpio -idmu 2>/dev/null && tar xzf ${PN}-4.1-1.tar.gz + eend ${?} + assert "Failed to extract lkcd distribution..." + + unpack lkcdutils-4.1-savedump.tar.gz + unpack lkcdutils-4.1-dhv8.tar.gz + cd ${S} + epatch ../lkcdutils-4.1-savedump.diff + epatch ../lkcdutils-4.1-dhv8.diff +} + +src_compile() { + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --datadir=/usr/share \ + --sysconfdir=/etc \ + --bfd_version=2.14.90 || die "configure failed" + + make || die "make failed" +} + +src_install() { + make install ROOT=${D} || die "install failed" + # not needed on s390 + rm -rf ${D}/usr/share/sial \ + ${D}/usr/lib/libsial.a \ + ${D}/usr/include/sial_api.h \ + ${D}/usr/include/lkcd/asm/lc_dis.h \ + ${D}/etc \ + ${D}/sbin/lkcd* \ + ${D}/usr/man/man/lkcd* + # broken configure script... + mv -f ${D}/usr/man ${D}/usr/share/man + prepall +} diff --git a/sys-apps/lkcdutils/metadata.xml b/sys-apps/lkcdutils/metadata.xml new file mode 100644 index 000000000000..3c2f9a5fae5a --- /dev/null +++ b/sys-apps/lkcdutils/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>base-system</herd> +<maintainer> + <email>randy@gentoo.org</email> +</maintainer> +<longdescription>Linux Kernel Crash Dumps (LKCD) Utilities</longdescription> +</pkgmetadata> |