summaryrefslogtreecommitdiff
path: root/extra/mtdev/PKGBUILD
blob: 5586c4412d529ffe8ba9b5fac0468885fff6aeaa (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
29
30
# $Id: PKGBUILD 153465 2012-03-14 17:58:06Z andyrtr $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: SpepS <dreamspepser at yahoo dot it>

pkgname=mtdev
pkgver=1.1.2
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' 'mips64el')
url="http://bitmath.org/code/mtdev/"
license=('custom:MIT')
depends=('glibc')
options=('!libtool')
source=("$url$pkgname-$pkgver.tar.bz2")
md5sums=('d9c7700918fc392e29da7477ae20c5c2')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr --disable-static
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install

  # license
  install -Dm644 COPYING \
    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}