aboutsummaryrefslogtreecommitdiffstats
path: root/main/module-init-tools/APKBUILD
blob: cfc620d7ab2d792615c91faf8fb59862036b801c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Natanel Copa <ncopa@alpinelinux.org>
pkgname=module-init-tools
pkgver=3.10
pkgrel=0
pkgdesc="Utilities for inserting and removing modules from the Linux kernel"
url="http://www.kernel.org"
license='GPL'
depends=
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 -j1 DESTDIR="$pkgdir" INSTALL=install install || return 1

	# remove empty manpages.
	rm -r "$pkgdir/usr"
}

md5sums="fcde0344ad07c4ae2ae6b40918fd092d  module-init-tools-3.10.tar.bz2"