clean up
authorMike Frysinger <vapier@gentoo.org>
Wed, 15 Mar 2006 23:49:35 +0000 (23:49 +0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 15 Mar 2006 23:49:35 +0000 (23:49 +0000)
sys-apps/s390-oco/files/digest-s390-oco-2.6.5
sys-apps/s390-oco/s390-oco-2.6.5.ebuild

index 4dfe0441906206957ef4f8aae6ab8f1a0dd1ca32..f8521bace209cd5bdc1c0658f26e721fc25dab6b 100644 (file)
@@ -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
index 34b57f99e5a156784b2a0baf342d8734f1c7bd88..93d182f578bc8613286dd766c8683e4e09f55645 100644 (file)
@@ -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() {