summaryrefslogtreecommitdiff
path: root/testing/module-init-tools/PKGBUILD
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-05 20:20:25 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-05 20:20:25 -0500
commit33c22f43a52aae722ce4d9cbe47f8d2fff31f395 (patch)
tree71f9661d9a843cca28225852f8784e48a2b96cb2 /testing/module-init-tools/PKGBUILD
parentc87732e5659b56943ef4f120d7c71dcaabc3f849 (diff)
parent3695b5d62c2aef6e82abc95d775a2ebd89bce081 (diff)
Merge branch 'master' of vparabola:~/abslibre-pre-mips64el
Conflicts: multilib-testing/lib32-mesa/PKGBUILD multilib/lib32-glew/PKGBUILD testing/iproute2/PKGBUILD
Diffstat (limited to 'testing/module-init-tools/PKGBUILD')
-rw-r--r--testing/module-init-tools/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/module-init-tools/PKGBUILD b/testing/module-init-tools/PKGBUILD
new file mode 100644
index 000000000..4ecfab9c9
--- /dev/null
+++ b/testing/module-init-tools/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 126053 2011-06-01 05:32:56Z andyrtr $
+# Maintainer: Aaron Griffin <aaron@archlinux.org>
+# Contributor: judd <jvinet@zeroflux.org>
+
+pkgname=module-init-tools
+pkgver=3.13
+pkgrel=1
+pkgdesc="utilities needed by Linux systems for managing loadable kernel modules"
+arch=('i686' 'x86_64')
+url="http://kerneltools.org"
+license=('GPL')
+depends=('glibc')
+backup=('etc/modprobe.d/modprobe.conf')
+source=(http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-$pkgver.tar.bz2
+ modprobe.conf)
+md5sums=('dc575e7df00d9f745bf23b32f927b7a6'
+ '316f1bda4c21af02b30252eb014a0a55')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ # do not regenerate man pages
+ touch *.{5,8}
+
+ ./configure --prefix=/usr --exec-prefix=/ --enable-zlib
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+
+ make DESTDIR=$pkgdir install
+
+ # Install our custom (read: empty) modprobe.conf
+ install -Dm644 $srcdir/modprobe.conf $pkgdir/etc/modprobe.d/modprobe.conf
+
+ # fix man page (FS#17559)
+ sed -i "s#mod#man5/mod#" $pkgdir/usr/share/man/man5/modprobe.d.5
+}