summaryrefslogtreecommitdiffstats
path: root/abs/core/mtdev
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-28 15:25:30 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-28 15:25:30 (GMT)
commit84b479f93a1b867f5d224eff02b1f3ebf6e4fced (patch)
treebbeae1049cac8f00c2a267c25fc8fe916764cce7 /abs/core/mtdev
parente4bfbdf02ec0118e2c973e10b1774d9f8b79dc91 (diff)
downloadlinhes_pkgbuild-84b479f93a1b867f5d224eff02b1f3ebf6e4fced.zip
linhes_pkgbuild-84b479f93a1b867f5d224eff02b1f3ebf6e4fced.tar.gz
linhes_pkgbuild-84b479f93a1b867f5d224eff02b1f3ebf6e4fced.tar.bz2
mtdev 1.1.3
Diffstat (limited to 'abs/core/mtdev')
-rw-r--r--abs/core/mtdev/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/abs/core/mtdev/PKGBUILD b/abs/core/mtdev/PKGBUILD
new file mode 100644
index 0000000..50bf164
--- /dev/null
+++ b/abs/core/mtdev/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 168434 2012-10-11 16:11:43Z andyrtr $
+# Maintainer: AndyRTR <andyrtr@archlinux.org>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+
+pkgname=mtdev
+pkgver=1.1.3
+pkgrel=1
+pkgdesc="A stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol"
+arch=('i686' 'x86_64')
+url="http://bitmath.org/code/mtdev/"
+license=('custom:MIT')
+depends=('glibc')
+options=('!libtool')
+source=("$url$pkgname-$pkgver.tar.bz2")
+md5sums=('8a236569ad3dd79eaeed45f1935359be')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr --disable-static
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make -k check
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+
+ # license
+ install -Dm644 COPYING \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}