aboutsummaryrefslogtreecommitdiffstats
path: root/core/module-init-tools/APKBUILD
blob: 1441c2fd4ee7be3bab54ae16cb3644e818be4611 (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.8
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="470d7830fd263d29a92149da6ae9f122  module-init-tools-3.8.tar.bz2"