aboutsummaryrefslogtreecommitdiff
path: root/package/libseccomp/libseccomp.mk
blob: 03fc6cf8006573aa946f6bedc71f6f578ccb2aff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
################################################################################
#
# libseccomp
#
################################################################################

LIBSECCOMP_VERSION = v2.3.1
LIBSECCOMP_SITE = $(call github,seccomp,libseccomp,$(LIBSECCOMP_VERSION))
LIBSECCOMP_LICENSE = LGPLv2.1
LIBSECCOMP_LICENSE_FILES = LICENSE
LIBSECCOMP_INSTALL_STAGING = YES
LIBSECCOMP_AUTORECONF = YES

# Needed for autoreconf to work properly, see ./autogen.sh
define LIBSECCOMP_FIXUP_M4_DIR
	mkdir $(@D)/m4
endef
LIBSECCOMP_POST_EXTRACT_HOOKS += LIBSECCOMP_FIXUP_M4_DIR

$(eval $(autotools-package))