summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael McCabe <randy@gentoo.org>2004-04-18 04:12:09 +0000
committerMichael McCabe <randy@gentoo.org>2004-04-18 04:12:09 +0000
commitf5bcf5ea7e95aab0bef03e5a7d9b5cc3b726234d (patch)
tree620214d4338896542a2b62e213860b0cbe42f79d /sys-apps/s390-oco
parentadded s390 keywords (Manifest recommit) (diff)
downloadgentoo-2-f5bcf5ea7e95aab0bef03e5a7d9b5cc3b726234d.tar.gz
gentoo-2-f5bcf5ea7e95aab0bef03e5a7d9b5cc3b726234d.tar.bz2
gentoo-2-f5bcf5ea7e95aab0bef03e5a7d9b5cc3b726234d.zip
Initial commit
Diffstat (limited to 'sys-apps/s390-oco')
-rw-r--r--sys-apps/s390-oco/ChangeLog7
-rw-r--r--sys-apps/s390-oco/Manifest3
-rw-r--r--sys-apps/s390-oco/files/digest-s390-oco-2.4.211
-rw-r--r--sys-apps/s390-oco/files/s390-oco1
-rw-r--r--sys-apps/s390-oco/metadata.xml9
-rw-r--r--sys-apps/s390-oco/s390-oco-2.4.21.ebuild47
6 files changed, 68 insertions, 0 deletions
diff --git a/sys-apps/s390-oco/ChangeLog b/sys-apps/s390-oco/ChangeLog
new file mode 100644
index 000000000000..92579ded03af
--- /dev/null
+++ b/sys-apps/s390-oco/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for sys-apps/s390-oco
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/s390-oco/ChangeLog,v 1.1 2004/04/18 04:12:09 randy Exp $
+
+ 18 Apr 2004; Michael McCabe <randy@gentoo.org> :
+ New ebuild submitted by Jochen Eisinger <jochen@penguin-breeder.org>
+
diff --git a/sys-apps/s390-oco/Manifest b/sys-apps/s390-oco/Manifest
new file mode 100644
index 000000000000..55bc9fae26ab
--- /dev/null
+++ b/sys-apps/s390-oco/Manifest
@@ -0,0 +1,3 @@
+MD5 72f6dc5b5f253eb16fde02269dd7bc41 s390-oco-2.4.21.ebuild 900
+MD5 675f5721308622d9bb8c5de38bca7d14 files/digest-s390-oco-2.4.21 83
+MD5 b43c4c5b51c43d85b1aab3939e18ea03 files/s390-oco 65
diff --git a/sys-apps/s390-oco/files/digest-s390-oco-2.4.21 b/sys-apps/s390-oco/files/digest-s390-oco-2.4.21
new file mode 100644
index 000000000000..4bbad9486a4e
--- /dev/null
+++ b/sys-apps/s390-oco/files/digest-s390-oco-2.4.21
@@ -0,0 +1 @@
+MD5 2c9dca279656790231e4361500f2a88e tape3590-2.4.21-s390-01-june2003.tar.gz 12544
diff --git a/sys-apps/s390-oco/files/s390-oco b/sys-apps/s390-oco/files/s390-oco
new file mode 100644
index 000000000000..a82b2ad2acc5
--- /dev/null
+++ b/sys-apps/s390-oco/files/s390-oco
@@ -0,0 +1 @@
+install tape_3590 /sbin/insmod --force tape_3590 >/dev/null 2>&1
diff --git a/sys-apps/s390-oco/metadata.xml b/sys-apps/s390-oco/metadata.xml
new file mode 100644
index 000000000000..0ec94b3dedb4
--- /dev/null
+++ b/sys-apps/s390-oco/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>Object-code only (OCO) modules for s390</longdescription>
+</pkgmetadata>
diff --git a/sys-apps/s390-oco/s390-oco-2.4.21.ebuild b/sys-apps/s390-oco/s390-oco-2.4.21.ebuild
new file mode 100644
index 000000000000..6c84e9694224
--- /dev/null
+++ b/sys-apps/s390-oco/s390-oco-2.4.21.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/s390-oco/s390-oco-2.4.21.ebuild,v 1.1 2004/04/18 04:12:09 randy Exp $
+
+
+DESCRIPTION="Object-code only (OCO) modules for s390"
+SRC_URI="s390x?( tape3590-2.4.21-s390x-01-june2003.tar.gz ) :( tape3590-2.4.21-s390-01-june2003.tar.gz )"
+HOMEPAGE="http://oss.software.ibm.com/developerworks/opensource/linux390/june2003_recommended.shtml"
+LICENSE="IBM-ILNWP"
+KEYWORDS="~s390"
+SLOT="${KV}"
+DEPEND="=sys-kernel/vanilla-sources-2.4.21"
+
+RESTRICT="fetch"
+
+pkg_nofetch() {
+ einfo "Please download ${SRC_URI} 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() {
+ cd ${WORKDIR}
+ mv tape3590-2.4.21-s390*-01-june2003.o tape_3590.o
+}
+
+src_install() {
+ dodir /etc/modules.d
+ insinto /etc/modules.d
+ doins ${FILESDIR}/s390-oco
+
+ cd ${WORKDIR}
+ dodir /lib/modules/${KV}/OCO
+ insinto /lib/modules/${KV}/OCO
+ doins tape_3590.o
+
+ dodoc README LICENSE
+}
+
+