From ee1f40fa00875977d33a5848257195ccfa66afab Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 15 Mar 2006 23:49:35 +0000 Subject: [PATCH] clean up --- sys-apps/s390-oco/files/digest-s390-oco-2.6.5 | 5 +++ sys-apps/s390-oco/s390-oco-2.6.5.ebuild | 41 +++++++------------ 2 files changed, 20 insertions(+), 26 deletions(-) diff --git a/sys-apps/s390-oco/files/digest-s390-oco-2.6.5 b/sys-apps/s390-oco/files/digest-s390-oco-2.6.5 index 4dfe04419062..f8521bace209 100644 --- a/sys-apps/s390-oco/files/digest-s390-oco-2.6.5 +++ b/sys-apps/s390-oco/files/digest-s390-oco-2.6.5 @@ -1 +1,6 @@ MD5 0b4e2461d708b575a3a697551790c94c tape_3590-2.6.5-s390-april2004.tar.gz 12260 +RMD160 53332da47d63d808bbd98ab9bfd529558ae5368b tape_3590-2.6.5-s390-april2004.tar.gz 12260 +SHA256 62d315aba780c7a147e5edb8597cdb78014f785a98e344065b5c91e608ab1399 tape_3590-2.6.5-s390-april2004.tar.gz 12260 +MD5 2c14f904d97b20089b06b6201214215a tape_3590-2.6.5-s390x-april2004.tar.gz 13321 +RMD160 c426a2d355c884b71867e9d900dd98252116afc0 tape_3590-2.6.5-s390x-april2004.tar.gz 13321 +SHA256 9f7f573b14f57de21adf17fa18a4577941c47a0c5505b2ba925dafe698269016 tape_3590-2.6.5-s390x-april2004.tar.gz 13321 diff --git a/sys-apps/s390-oco/s390-oco-2.6.5.ebuild b/sys-apps/s390-oco/s390-oco-2.6.5.ebuild index 34b57f99e5a1..93d182f578bc 100644 --- a/sys-apps/s390-oco/s390-oco-2.6.5.ebuild +++ b/sys-apps/s390-oco/s390-oco-2.6.5.ebuild @@ -1,40 +1,29 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/s390-oco/s390-oco-2.6.5.ebuild,v 1.9 2005/07/13 12:50:32 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/s390-oco/s390-oco-2.6.5.ebuild,v 1.10 2006/03/15 23:49:35 vapier Exp $ + +inherit linux-mod + +STREAM="april2004" DESCRIPTION="Object-code only (OCO) modules for s390" -HOMEPAGE="http://www10.software.ibm.com/developerworks/opensource/linux390/tape_3590-2.6.5-s390-april2004.shtml" -if [[ ${CTARGET:-${CHOST}} == s390x-* ]] ; then -SRC_URI="tape_3590-2.6.5-s390x-april2004.tar.gz" -else -SRC_URI="tape_3590-2.6.5-s390-april2004.tar.gz" -fi +HOMEPAGE="http://www.ibm.com/developerworks/linux/linux390/tape_3590-${PV}-s390-${STREAM}.shtml" +SRC_URI="mirror://gentoo/tape_3590-${PV}-s390x-${STREAM}.tar.gz + mirror://gentoo/tape_3590-${PV}-s390-${STREAM}.tar.gz" LICENSE="IBM-ILNWP" -SLOT="${KV}" -KEYWORDS="~s390" +SLOT="0" +KEYWORDS="s390" IUSE="" -RESTRICT="fetch" -DEPEND="~sys-kernel/vanilla-sources-2.6.5" +DEPEND="=sys-kernel/vanilla-sources-${PV}*" S=${WORKDIR} -pkg_nofetch() { - einfo "Please download ${A} from" - einfo - einfo " o ${HOMEPAGE}" - einfo - einfo "and put it into ${DISTDIR}" -} - -src_unpack() { - unpack ${A} - check_KV || die "Cannot find kernel in /usr/src/linux" -} - src_compile() { - mv tape3590-2.6.5-s390*-01-april2004.ko tape_3590.ko || die + [[ ${CHOST} == s390x* ]] \ + && mv tape_3590-${PV}-s390x-${STREAM}.ko tape_3590.ko \ + || mv tape_3590-${PV}-s390-${STREAM}.ko tape_3590.ko } src_install() { -- 2.26.2