summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2003-11-02 19:47:46 +0000
committerMartin Schlemmer <azarah@gentoo.org>2003-11-02 19:47:46 +0000
commit6ecc904d555b9c0acbaa80a0a33ea2096d885bc3 (patch)
tree2b342b187849c71c806beab2cf33a39048c6875d /sys-apps/modutils
parentUpdate version. Some cleanups. (diff)
downloadhistorical-6ecc904d555b9c0acbaa80a0a33ea2096d885bc3.tar.gz
historical-6ecc904d555b9c0acbaa80a0a33ea2096d885bc3.tar.bz2
historical-6ecc904d555b9c0acbaa80a0a33ea2096d885bc3.zip
Update version. Some cleanups.
Diffstat (limited to 'sys-apps/modutils')
-rw-r--r--sys-apps/modutils/Manifest4
-rw-r--r--sys-apps/modutils/files/digest-modutils-2.4.261
-rw-r--r--sys-apps/modutils/modutils-2.4.26.ebuild55
3 files changed, 58 insertions, 2 deletions
diff --git a/sys-apps/modutils/Manifest b/sys-apps/modutils/Manifest
index 12145c9aecc2..080a6a6c12b4 100644
--- a/sys-apps/modutils/Manifest
+++ b/sys-apps/modutils/Manifest
@@ -1,10 +1,10 @@
MD5 a73b8ecd4dcc019f9bce873ee9bc40a6 modutils-2.4.19.ebuild 1130
MD5 9469c7a76d137ea6eff519f3d258f991 modutils-2.4.16-r2.ebuild 1482
MD5 df7d440cbfdd4dbb63486b8a2e8d6355 modutils-2.4.23.ebuild 1394
-MD5 4711808d2badf947c6721ed20fe7e559 ChangeLog 5301
+MD5 a565186a7b77225560b51961c9442c90 ChangeLog 5445
MD5 e6836492263f91b7bbd1ef3a228681e8 modutils-2.4.22.ebuild 1381
MD5 8aecad8c011d53493c84ddf5427e0a33 modutils-2.4.24.ebuild 1334
-MD5 ba27925ae06ead859a0bbcc3f12b2438 modutils-2.4.26.ebuild 1335
+MD5 7d34eccbc794d3dab7441fe3e98b49a2 modutils-2.4.26.ebuild 1359
MD5 47b2463bfba5154bfb2961d32be5e205 modutils-2.4.16-r3.ebuild 1212
MD5 ba27925ae06ead859a0bbcc3f12b2438 modutils-2.4.25.ebuild 1335
MD5 759c27455fab35ff3d1e14a0aa412c5b modutils-2.4.20.ebuild 1044
diff --git a/sys-apps/modutils/files/digest-modutils-2.4.26 b/sys-apps/modutils/files/digest-modutils-2.4.26
new file mode 100644
index 000000000000..c138003c68c0
--- /dev/null
+++ b/sys-apps/modutils/files/digest-modutils-2.4.26
@@ -0,0 +1 @@
+MD5 704c8d2834bcaa6f31d4ad79d154157a modutils-2.4.26.tar.bz2 235135
diff --git a/sys-apps/modutils/modutils-2.4.26.ebuild b/sys-apps/modutils/modutils-2.4.26.ebuild
new file mode 100644
index 000000000000..c47bcb9b769d
--- /dev/null
+++ b/sys-apps/modutils/modutils-2.4.26.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/modutils/modutils-2.4.26.ebuild,v 1.1 2003/11/02 19:47:35 azarah Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="Standard kernel module utilities"
+SRC_URI="mirror://kernel/linux/utils/kernel/${PN}/v2.4/${P}.tar.bz2"
+HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/modutils/"
+KEYWORDS="~x86 ~amd64 ~ppc ~sparc ~alpha ~hppa ~arm ~mips ~ia64"
+SLOT="0"
+LICENSE="GPL-2"
+DEPEND="virtual/glibc"
+PROVIDE="virtual/modutils"
+
+src_unpack() {
+ unpack ${A}
+
+ EPATCH_OPTS="-d ${S}/util" \
+ epatch ${FILESDIR}/alias.h.diff
+}
+
+src_compile() {
+ local myconf=
+ local mymake=
+
+ filter-flags -fPIC
+
+ # see bug #3897 ... we need insmod static, as libz.so is in /usr/lib
+ #
+ # Final resolution ... dont make it link against zlib, as the static
+ # version do not want to autoload modules :(
+ myconf="${myconf} --disable-zlib"
+
+ [ ${ARCH} = "hppa" ] && mymake="ARCH=hppa"
+
+ econf \
+ --prefix=/ \
+ --disable-strip \
+ --enable-insmod-static \
+ ${myconf} || die "./configure failed"
+
+ emake ${mymake} || die "emake failed"
+}
+
+src_install() {
+ local mymake=
+
+ [ ${ARCH} = "hppa" ] && mymake="ARCH=hppa"
+
+ einstall prefix="${D}" ${mymake} || die "make install failed"
+
+ dodoc COPYING CREDITS ChangeLog NEWS README TODO
+}
+