# -*-makefile-*- # # Copyright (C) 2016 by Clemens Gruber # # 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_LIBSECCOMP) += libseccomp # # Paths and names # LIBSECCOMP_VERSION := 2.3.3 LIBSECCOMP_MD5 := e6b4e463857fe05c09dc56ec3bcaef84 LIBSECCOMP := libseccomp-$(LIBSECCOMP_VERSION) LIBSECCOMP_SUFFIX := tar.gz LIBSECCOMP_URL := https://github.com/seccomp/libseccomp/releases/download/v$(LIBSECCOMP_VERSION)/$(LIBSECCOMP).$(LIBSECCOMP_SUFFIX) LIBSECCOMP_SOURCE := $(SRCDIR)/$(LIBSECCOMP).$(LIBSECCOMP_SUFFIX) LIBSECCOMP_DIR := $(BUILDDIR)/$(LIBSECCOMP) LIBSECCOMP_LICENSE := LGPL-2.1-only # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- # # autoconf # LIBSECCOMP_CONF_TOOL := autoconf LIBSECCOMP_CONF_OPT := \ $(CROSS_AUTOCONF_USR) \ --disable-python \ --disable-code-coverage # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- $(STATEDIR)/libseccomp.targetinstall: @$(call targetinfo) @$(call install_init, libseccomp) @$(call install_fixup, libseccomp, PRIORITY, optional) @$(call install_fixup, libseccomp, SECTION, base) @$(call install_fixup, libseccomp, AUTHOR, "Clemens Gruber ") @$(call install_fixup, libseccomp, DESCRIPTION, missing) @$(call install_lib, libseccomp, 0, 0, 0644, libseccomp) ifdef PTXCONF_LIBSECCOMP_UTILS @$(call install_copy, libseccomp, 0, 0, 0755, -, /usr/bin/scmp_sys_resolver) @$(call install_copy, libseccomp, 0, 0, 0755, $(LIBSECCOMP_DIR)/tools/scmp_app_inspector, /usr/bin/scmp_app_inspector) endif @$(call install_finish, libseccomp) @$(call touch) # vim: syntax=make