# -*-makefile-*- # # Copyright (C) 2008 by Robert Schwebel # 2009 by Marc Kleine-Budde # # See CREDITS for details about who has contributed to this project. # # For further information about the PTXdist project and license conditions # see the README file. # # # We provide this package # PACKAGES-$(PTXCONF_LIBFFI) += libffi # # Paths and names # LIBFFI_VERSION := 3.2.1 LIBFFI_MD5 := 83b89587607e3eb65c70d361f13bab43 LIBFFI := libffi-$(LIBFFI_VERSION) LIBFFI_SUFFIX := tar.gz LIBFFI_SOURCE := $(SRCDIR)/$(LIBFFI).$(LIBFFI_SUFFIX) LIBFFI_DIR := $(BUILDDIR)/$(LIBFFI) LIBFFI_URL := \ http://ftp.gwdg.de/pub/linux/sources.redhat.com/libffi/$(LIBFFI).$(LIBFFI_SUFFIX) \ ftp://sourceware.org/pub/libffi/$(LIBFFI).$(LIBFFI_SUFFIX) LIBFFI_LICENSE := MIT # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- LIBFFI_CONF_TOOL := autoconf LIBFFI_CONF_OPT := \ $(CROSS_AUTOCONF_USR) \ --disable-static \ --enable-portable-binary \ --disable-pax_emutramp \ --disable-debug \ --enable-structs \ --enable-raw-api \ --disable-purify-safety \ --without-gcc-arch # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- $(STATEDIR)/libffi.targetinstall: @$(call targetinfo) @$(call install_init, libffi) @$(call install_fixup, libffi,PRIORITY,optional) @$(call install_fixup, libffi,SECTION,base) @$(call install_fixup, libffi,AUTHOR,"Robert Schwebel ") @$(call install_fixup, libffi,DESCRIPTION,missing) @$(call install_lib, libffi, 0, 0, 0644, libffi) @$(call install_finish, libffi) @$(call touch) # vim: syntax=make