summaryrefslogtreecommitdiff
path: root/extra/kmod/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/kmod/PKGBUILD')
-rw-r--r--extra/kmod/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/kmod/PKGBUILD b/extra/kmod/PKGBUILD
new file mode 100644
index 000000000..3b17c9f26
--- /dev/null
+++ b/extra/kmod/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 145285 2011-12-21 02:42:53Z dreisner $
+# Maintainer: Dave Reisner <dreisner@archlinux.org>
+
+pkgname=kmod
+pkgver=2
+pkgrel=2
+pkgdesc="A set of tools to handle common tasks with Linux kernel modules"
+arch=('i686' 'x86_64')
+url="http://git.profusion.mobi/cgit.cgi/kmod.git"
+license=('GPL2')
+depends=('glibc' 'zlib')
+options=('!libtool')
+source=("http://packages.profusion.mobi/$pkgname/$pkgname-$pkgver.tar.xz")
+md5sums=('6017364434377f6724f749d7a28c5d7a')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ ./configure --enable-zlib
+ make
+}
+
+check() {
+ make -C "$pkgname-$pkgver" check
+}
+
+package() {
+ make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+}
+
+# vim: ft=sh syn=sh et