blob: cfe5a543e5868a7c088bd9ec51413ae8d0bd18ed (
plain) (
blame)
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
31
32
33
34
35
36
|
# $Id$
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=libffi
pkgver=3.2.1
pkgrel=1
pkgdesc='Portable foreign function interface library'
arch=('x86_64')
url='http://sourceware.org/libffi/'
license=('MIT')
depends=()
checkdepends=('dejagnu')
source=(ftp://sourceware.org/pub/libffi/libffi-$pkgver.tar.gz)
sha1sums=('280c265b789e041c02e5c97815793dfc283fb1e6')
build() {
cd $pkgname-$pkgver
./configure --prefix=$BUILD_PREFIX --disable-static \
--enable-pax_emutramp
make
}
check() {
cd .
#make -C $pkgname-$pkgver check
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
fix_rpath
install -Dm644 LICENSE "$pkgdir${BUILD_PREFIX}"/share/licenses/$pkgname/LICENSE
}
|