PKGBUILDs/core/module-init-tools/PKGBUILD

28 lines
815 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: Philipp Scholl <pscholl@bawue.de>
2009-09-26 16:30:17 +00:00
# Modified by OpenPogo
2009-09-26 14:35:50 +00:00
pkgname=module-init-tools
pkgver=3.5
pkgrel=1
pkgdesc="utilities needed by Linux systems for managing loadable kernel modules"
arch=(arm)
url="http://kerneltools.org"
license=('GPL')
groups=('base')
2009-09-26 16:30:17 +00:00
depends=()
backup=('opt/etc/modprobe.conf')
2009-09-26 14:35:50 +00:00
source=(http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-$pkgver.tar.bz2
modprobe.conf)
md5sums=('2b47686247fc9a99bfdb9dd1d1d80e6f'
2009-09-26 16:30:17 +00:00
'8d629d1614c81b5faaa4b8663b45d51b')
2009-09-26 14:35:50 +00:00
build() {
cd $startdir/src/$pkgname-$pkgver
2009-09-26 16:30:17 +00:00
./configure --prefix=/opt --exec-prefix=/opt/
2009-09-26 14:35:50 +00:00
make || return 1
make DESTDIR=$startdir/pkg install || return 1
2009-09-26 16:30:17 +00:00
rm $pkgdir/opt/sbin/generate-modprobe.conf
install -D -m644 ../modprobe.conf $startdir/pkg/opt/etc/modprobe.conf
2009-09-26 14:35:50 +00:00
}