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

LIBSECCOMP_VERSION         = 2.1.1
LIBSECCOMP_SITE            = http://downloads.sourceforge.net/project/libseccomp/libseccomp-$(LIBSECCOMP_VERSION)/
LIBSECCOMP_LICENSE         = LGPLv2.1
LIBSECCOMP_LICENSE_FILES   = LICENSE
LIBSECCOMP_INSTALL_STAGING = YES

# Needed for configure to find our system headers:
LIBSECCOMP_CONF_ENV            = SYSROOT=$(STAGING_DIR)
LIBSECCOMP_MAKE_ENV            = $(TARGET_CONFIGURE_OPTS)
LIBSECCOMP_MAKE_OPTS            = SUBDIRS_BUILD=src
LIBSECCOMP_INSTALL_STAGING_OPT = SUBDIRS_BUILD=src SUBDIRS_INSTALL="src include" DESTDIR=$(STAGING_DIR) install
LIBSECCOMP_INSTALL_TARGET_OPTS  = SUBDIRS_BUILD=src SUBDIRS_INSTALL="src include" DESTDIR=$(TARGET_DIR) install

# Not a real autotools package, but works quite OK nonetheless
$(eval $(autotools-package))