# Maintainer: Natanel Copa pkgname=module-init-tools pkgver=3.4 pkgrel=1 pkgdesc="Utilities for inserting and removing modules from the Linux kernel" url="http://www.kernel.org" license='GPL' depends='uclibc' source="http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-$pkgver.tar.bz2" build() { cd "$srcdir/$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 DOCBOOKTOMAN=: || return 1 make DESTDIR="$pkgdir" INSTALL=install install || return 1 # remove empty manpages. rm -r "$pkgdir/usr" } md5sums="db6ac059e80e8dd4389dbe81ee61f3c6 module-init-tools-3.4.tar.bz2"