mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-13 03:42:37 +01:00
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libffi
|
|
pkgver=3.0.13
|
|
pkgrel=0
|
|
pkgdesc="A portable, high level programming interface to various calling conventions."
|
|
url="http://sourceware.org/libffi"
|
|
arch="all"
|
|
license="MIT"
|
|
depends=
|
|
makedepends="texinfo"
|
|
install=
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="ftp://sourceware.org/pub/$pkgname/$pkgname-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir"/$pkgname-$pkgver
|
|
build () {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR=""$pkgdir"" install || return 1
|
|
rm "$pkgdir"/usr/lib/*.la || return 1
|
|
install -m755 -d ""$pkgdir"/usr/share/licenses/$pkgname"
|
|
install -m644 LICENSE ""$pkgdir"/usr/share/licenses/$pkgname/" || return 1
|
|
}
|
|
md5sums="45f3b6dbc9ee7c7dfbbbc5feba571529 libffi-3.0.13.tar.gz"
|
|
sha256sums="1dddde1400c3bcb7749d398071af88c3e4754058d2d4c0b3696c2f82dc5cf11c libffi-3.0.13.tar.gz"
|
|
sha512sums="fc47f5d25197c631754efe05a349edb556d072807ecef19b41f17c1a8f39c95221be64926fbd05b1f8439181df1ddff8fc01462ce3a26005b75159ddc27e6f6a libffi-3.0.13.tar.gz"
|