aboutsummaryrefslogtreecommitdiffstats
path: root/main/module-init-tools/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/module-init-tools/APKBUILD')
-rw-r--r--main/module-init-tools/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/main/module-init-tools/APKBUILD b/main/module-init-tools/APKBUILD
new file mode 100644
index 0000000000..1441c2fd4e
--- /dev/null
+++ b/main/module-init-tools/APKBUILD
@@ -0,0 +1,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"