summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/module-init-tools/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/module-init-tools/PKGBUILD
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core-testing/module-init-tools/PKGBUILD')
-rw-r--r--abs/core-testing/module-init-tools/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/abs/core-testing/module-init-tools/PKGBUILD b/abs/core-testing/module-init-tools/PKGBUILD
new file mode 100644
index 0000000..b4260d1
--- /dev/null
+++ b/abs/core-testing/module-init-tools/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 5982 2008-07-22 12:44:28Z thomas $
+# Maintainer: judd <jvinet@zeroflux.org>
+pkgname=module-init-tools
+pkgver=3.4
+pkgrel=10
+pkgdesc="Utilities for inserting and removing modules from the Linux kernel"
+arch=(i686 x86_64)
+url="http://www.kernel.org"
+license=('GPL')
+groups=('base')
+depends=('glibc')
+backup=('etc/modprobe.conf')
+source=(http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-$pkgver.tar.bz2
+ ftp://sunsite.informatik.rwth-aachen.de/pub/linux/gentoo/distfiles/module-init-tools-$pkgver-manpages.tar.bz2
+ makefile.patch
+ modprobe.conf
+ fix-modprobe-ignore-path.patch)
+md5sums=('db6ac059e80e8dd4389dbe81ee61f3c6'
+ '006678277788b5a0402b171f4a235cd6'
+ '47e14fda7a46668290d11d0444d81826'
+ '6db59d41e04941a790f80c1a4432faef'
+ '335c3f8317f257ddd70b09271b4360bd')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ patch -Np1 -i ../makefile.patch
+ patch -Np0 -i ../fix-modprobe-ignore-path.patch || return 1
+ sed -i 's|/usr/bin/install|/bin/install|g' install-with-care
+ ./configure --prefix=/usr --exec-prefix=/
+ make || return 1
+ INSTALL=/bin/install make DESTDIR=$startdir/pkg install || return 1
+ install -D -m644 ../modprobe.conf $startdir/pkg/etc/modprobe.conf
+}