core/module-init-tools/PKGBUILD
Jan Mette e339b8e300
2010-04-04 14:20:41 +00:00

33 lines
1012 B
Bash

# $Id: PKGBUILD 65219 2010-01-25 07:32:18Z allan $
# Maintainer: Aaron Griffin <aaron@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=module-init-tools
pkgver=3.11.1
pkgrel=2
pkgdesc="utilities needed by Linux systems for managing loadable kernel modules"
arch=('i686' 'x86_64')
url="http://kerneltools.org"
license=('GPL')
groups=('base')
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=('28dfcb9e24cdbeb12b99ac1eb8af7dea'
'316f1bda4c21af02b30252eb014a0a55')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --exec-prefix=/
make || return 1
make DESTDIR=$pkgdir install || return 1
# 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
}