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
commitbe9d38b1f0f509328e2fe6cd907550e3d35a5f54 (patch)
tree8940873a72a0c30744ffdc16eb672614334e9319 /sys-apps/s390-oco
parentadded s390 keywords (diff)
downloadhistorical-be9d38b1f0f509328e2fe6cd907550e3d35a5f54.tar.gz
historical-be9d38b1f0f509328e2fe6cd907550e3d35a5f54.tar.bz2
historical-be9d38b1f0f509328e2fe6cd907550e3d35a5f54.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/Manifest5
-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, 70 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..b73c7c7a43c9
--- /dev/null
+++ b/sys-apps/s390-oco/Manifest
@@ -0,0 +1,5 @@
+MD5 c3c75f8ee4e2b075b688336a8b4d15d8 s390-oco-2.4.21.ebuild 1133
+MD5 64ff0642bc91fe55820a19224b0f6cd4 metadata.xml 300
+MD5 672483fdf90c08a6f5815eb1fd37fd8e ChangeLog 338
+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
+}
+
+