mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-27 00:10:29 +00:00
25 lines
785 B
Bash
25 lines
785 B
Bash
# $Id: PKGBUILD 27855 2009-02-27 03:39:34Z eric $
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
pkgname=libffi
|
|
pkgver=3.0.8
|
|
pkgrel=1
|
|
pkgdesc="A portable, high level programming interface to various calling conventions."
|
|
arch=('i686' 'x86_64')
|
|
license=('MIT')
|
|
url="http://sourceware.org/libffi"
|
|
depends=('glibc' 'texinfo')
|
|
options=('!libtool' 'force')
|
|
install=libffi.install
|
|
source=(ftp://sourceware.org/pub/libffi/libffi-${pkgver}.tar.gz)
|
|
md5sums=('188a4f79fdac2310044b44b7d3918ef9')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr || return 1
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
|
rm -f ${pkgdir}/usr/share/info/dir
|
|
gzip ${pkgdir}/usr/share/info/*
|
|
}
|