1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# -*-makefile-*-
#
# Copyright (C) 2016 by Clemens Gruber <clemens.gruber@pqgruber.com>
#
# 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
#
ifndef PTXCONF_ARCH_PPC
PACKAGES-$(PTXCONF_LIBSECCOMP) += libseccomp
#
# Paths and names
#
LIBSECCOMP_VERSION := 2.2.3
LIBSECCOMP_MD5 := 7db418d35d7a6168400bf6b05502f8bf
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
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
#
# autoconf
#
LIBSECCOMP_CONF_TOOL := autoconf
# ----------------------------------------------------------------------------
# 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 <clemens.gruber@pqgruber.com>")
@$(call install_fixup, libseccomp, DESCRIPTION, missing)
@$(call install_lib, libseccomp, 0, 0, 0644, libseccomp)
@$(call install_finish, libseccomp)
@$(call touch)
endif
# vim: syntax=make
|