Name libffi.so.8
Description portable, high level programming interface to various calling conventions.
Version 3.4.8-r0
Package Base libffi
Homepage https://sourceware.org/libffi/
Maintainers ['Natanael Copa <ncopa@alpinelinux.org>']
Contributors []
Distro-repo https://gitlab.alpinelinux.org/alpine/aports/-/tree/3.22-stable/main/libffi
Sources []
Dependencies []
Optional-Dependencies []
Build-Dependencies []
Provides ['so:libffi.so.8=8.1.4']
Builddate 13-04-2025 12:03:58
Architecture x86_64
Distro-Version v3.22
Licenses ['MIT']
Hash Q15dARGPWtAIuy3wdjWvNkkztP8g8=
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libffi
pkgver=3.4.8
pkgrel=0
pkgdesc="portable, high level programming interface to various calling conventions."
url="https://sourceware.org/libffi/"
arch="all"
license="MIT"
depends_dev="linux-headers"
makedepends_build="texinfo"
checkdepends="dejagnu"
subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc"
source="https://github.com/libffi/libffi/releases/download/v$pkgver/libffi-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--enable-pax_emutramp \
		--enable-portable-binary \
		--disable-exec-static-tramp
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
05344c6c1a1a5b44704f6cf99277098d1ea3ac1dc11c2a691c501786a214f76184ec0637135588630db609ce79e49df3dbd00282dd61e7f21137afba70e24ffe  libffi-3.4.8.tar.gz
"