aboutsummaryrefslogtreecommitdiffstats
path: root/main/module-init-tools/APKBUILD
blob: f54fc792818850c2584ed691b63416721b102cfe (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
25
26
27
28
# Maintainer: Natanel Copa <ncopa@alpinelinux.org>
pkgname=module-init-tools
pkgver=3.16
pkgrel=0
pkgdesc="Utilities for inserting and removing modules from the Linux kernel"
url="http://www.kernel.org"
arch="all"
license='GPL'
depends=
source="http://ftp.tlk-l.net/pub/mirrors/kernel.org/linux/utils/kernel/module-init-tools/module-init-tools-$pkgver.tar.bz2"

 

build() {
	cd "$srcdir/$pkgname-$pkgver"
	./configure --prefix=/usr --exec-prefix=/
	make DOCBOOKTOMAN=: || return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
  	make -j1 DESTDIR="$pkgdir" INSTALL=install install || return 1

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

md5sums="bc44832c6e41707b8447e2847d2019f5  module-init-tools-3.16.tar.bz2"