From 321f9a9d55a58f44e2d0d995cb85a8c9ae0b80eb Mon Sep 17 00:00:00 2001 From: Karchnu Date: Fri, 23 Apr 2021 02:35:11 +0200 Subject: [PATCH] Add libffi recipe --- recipes/libffi/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 recipes/libffi/Makefile diff --git a/recipes/libffi/Makefile b/recipes/libffi/Makefile new file mode 100644 index 0000000..85fd23e --- /dev/null +++ b/recipes/libffi/Makefile @@ -0,0 +1,11 @@ +name = libffi +version = 3.3 +URL = ftp://sourceware.org/pub/libffi/libffi-$(version).tar.gz + +post_fake_root_install: + mv $(pkg_fake_root_dir)/$(PREFIX)/lib/libffi-$(version)/include $(pkg_fake_root_dir)/$(PREFIX)/ + rm -rf $(pkg_fake_root_dir)/$(PREFIX)/lib/libffi-$(version) + + +SYSCONF ?= ../../ +include $(SYSCONF)/package.mk