From aac194968015e50383144a04b526574a5e0c315d Mon Sep 17 00:00:00 2001 From: J0WI Date: Tue, 7 Apr 2020 18:21:07 +0200 Subject: main/libffi: modernize --- main/libffi/APKBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/main/libffi/APKBUILD b/main/libffi/APKBUILD index 5b296247d3..81e8d63242 100644 --- a/main/libffi/APKBUILD +++ b/main/libffi/APKBUILD @@ -1,21 +1,22 @@ # Maintainer: Natanael Copa pkgname=libffi pkgver=3.3 -pkgrel=1 +pkgrel=2 pkgdesc="A portable, high level programming interface to various calling conventions." -url="http://sourceware.org/libffi" +url="https://sourceware.org/libffi" arch="all" license="MIT" depends_dev="linux-headers" makedepends_build="texinfo" # on mips* ffitarget.h wants makedepends_host="linux-headers" +checkdepends="dejagnu" subpackages="$pkgname-dev $pkgname-doc $pkgname-dbg" -source="ftp://sourceware.org/pub/libffi/libffi-$pkgver.tar.gz +options="!check" # failing test +source="https://sourceware.org/pub/libffi/libffi-$pkgver.tar.gz pax-dlmmap.patch " - build() { ./configure \ --build=$CBUILD \ @@ -25,6 +26,10 @@ build() { make } +check() { + make check +} + package() { make DESTDIR="$pkgdir" install } -- cgit v1.2.3