mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
42 lines
1.2 KiB
Bash
42 lines
1.2 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=module-init-tools
|
|
pkgver=3.16
|
|
pkgrel=2
|
|
pkgdesc="utilities needed by Linux systems for managing loadable kernel modules"
|
|
arch=('i686' 'x86_64')
|
|
url="http://kerneltools.org"
|
|
license=('GPL')
|
|
depends=('glibc')
|
|
makedepends=('docbook2x')
|
|
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
|
|
docfix.patch)
|
|
md5sums=('bc44832c6e41707b8447e2847d2019f5'
|
|
'316f1bda4c21af02b30252eb014a0a55'
|
|
'4320d19902ded43bed55c804b065cdc7')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
# fix headers in SGML manpage sources and an XML typo
|
|
patch -Np0 < "$srcdir/docfix.patch"
|
|
|
|
./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
|
|
}
|