1 # Maintainer: Giuseppe Calderaro <giuseppecalderaro@gmail.com>
6 pkgdesc="A minimalistic disassembler library"
8 url="http://udis86.sourceforge.net/"
10 source=('http://downloads.sourceforge.net/udis86/udis86-1.7.tar.gz')
11 md5sums=('e279108e10f774e6c3af83caa18f5dc3')
14 cd $startdir/src/$pkgname-$pkgver || return 1
16 ./configure --enable-shared || return 1
19 install -D -m644 $startdir/src/$pkgname-$pkgver/libudis86/.libs/libudis86.lai $startdir/pkg/usr/lib/libudis86.la
20 install -D -m644 $startdir/src/$pkgname-$pkgver/libudis86/.libs/libudis86.a $startdir/pkg/usr/lib/libudis86.a
21 ranlib $startdir/pkg/usr/lib/libudis86.a
23 install -D -m644 $startdir/src/$pkgname-$pkgver/libudis86/.libs/libudis86.so.0.0.0 $startdir/pkg/usr/lib/libudis86.so
24 install -D -m644 $startdir/src/$pkgname-$pkgver/$pkgname.h $startdir/pkg/usr/include/$pkgname.h || return 1
25 install -D -m644 $startdir/src/$pkgname-$pkgver/libudis86/extern.h $startdir/pkg/usr/include/libudis86/extern.h || return 1
26 install -D -m644 $startdir/src/$pkgname-$pkgver/libudis86/types.h $startdir/pkg/usr/include/libudis86/types.h || return 1
27 install -D -m644 $startdir/src/$pkgname-$pkgver/libudis86/itab.h $startdir/pkg/usr/include/libudis86/itab.h || return 1