ports/core (3.6): libffi: moved from opt to core, dependency of python3
commit d12216d83782c1b20ccd6e8cb2f27de76a0b5fa4 Author: Juergen Daubert <jue@jue.li> Date: Fri Jun 26 12:01:16 2020 +0000 libffi: moved from opt to core, dependency of python3 diff --git a/libffi/.footprint b/libffi/.footprint new file mode 100644 index 00000000..8ce65a28 --- /dev/null +++ b/libffi/.footprint @@ -0,0 +1,19 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/ffi.h +-rw-r--r-- root/root usr/include/ffitarget.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libffi.a +-rwxr-xr-x root/root usr/lib/libffi.la +lrwxrwxrwx root/root usr/lib/libffi.so -> libffi.so.7.1.0 +lrwxrwxrwx root/root usr/lib/libffi.so.7 -> libffi.so.7.1.0 +-rwxr-xr-x root/root usr/lib/libffi.so.7.1.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libffi.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man3/ +-rw-r--r-- root/root usr/share/man/man3/ffi.3.gz +-rw-r--r-- root/root usr/share/man/man3/ffi_call.3.gz +-rw-r--r-- root/root usr/share/man/man3/ffi_prep_cif.3.gz +-rw-r--r-- root/root usr/share/man/man3/ffi_prep_cif_var.3.gz diff --git a/libffi/.signature b/libffi/.signature new file mode 100644 index 00000000..ddc22f49 --- /dev/null +++ b/libffi/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/core.pub +RWRJc1FUaeVeqijyZpnaVETBhm8Al56Zc/HrGtFtjB3VdUUbMrp2Dud654qwiuT7kwP1ivysmxVH3cK04Wp6sQRIvD6bLwyjigI= +SHA256 (Pkgfile) = b10017fa183dc68c0077b22e8a0727503e4fe837d31e1ce8ab53fb57dc270d26 +SHA256 (.footprint) = 5288452378090453d6bf63360dfd7c522e7a1dd8efaa6bf70daf7a1e92656eb7 +SHA256 (libffi-3.3.tar.gz) = 72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056 diff --git a/libffi/Pkgfile b/libffi/Pkgfile new file mode 100644 index 00000000..1d449011 --- /dev/null +++ b/libffi/Pkgfile @@ -0,0 +1,25 @@ +# Description: Portable Foreign Function Interface Library +# URL: https://sourceware.org/libffi/ +# Maintainer: CRUX System Team, core-ports at crux dot nu + +name=libffi +version=3.3 +release=1 +source=(https://sourceware.org/pub/$name/$name-$version.tar.gz) + +build() { + cd $name-$version + + sed -e '/^includesdir/ s/$(libdir).*$/$(includedir)/' \ + -i include/Makefile.in + + sed \ + -e '/^includedir/ s/=.*$/=@includedir@/' \ + -e 's/^Cflags: -I${includedir}/Cflags:/' \ + -i libffi.pc.in + + ./configure --prefix=/usr + make + make DESTDIR=$PKG install + rm -r $PKG/usr/share/info +}
participants (1)
-
crux@crux.nu