summaryrefslogtreecommitdiffstats
path: root/package/libseccomp/libseccomp.mk
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2015-03-29 16:22:28 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-30 23:14:11 +0200
commit3d95b453e7a2e761d5301d28c1872805c17bf6a4 (patch)
tree0869a8215e56b67933d410f694c316b611447024 /package/libseccomp/libseccomp.mk
parent1b171af3b3b4e0f0537173c7b9703c729915a6ab (diff)
downloadbuildroot-3d95b453e7a2e761d5301d28c1872805c17bf6a4.tar.gz
buildroot-3d95b453e7a2e761d5301d28c1872805c17bf6a4.zip
package/libseccomp: bump version to 2.2.0
- change upstream URL, project moved to github - removed patches not needed anymore since project switched to autoconf - add newly supported platforms to Config.in [Thomas: - remove hash file, since we're fetching from github now.] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libseccomp/libseccomp.mk')
-rw-r--r--package/libseccomp/libseccomp.mk17
1 files changed, 8 insertions, 9 deletions
diff --git a/package/libseccomp/libseccomp.mk b/package/libseccomp/libseccomp.mk
index fbc4f904dd..a188298006 100644
--- a/package/libseccomp/libseccomp.mk
+++ b/package/libseccomp/libseccomp.mk
@@ -4,18 +4,17 @@
#
################################################################################
-LIBSECCOMP_VERSION = 2.1.1
-LIBSECCOMP_SITE = http://downloads.sourceforge.net/project/libseccomp/libseccomp-$(LIBSECCOMP_VERSION)
+LIBSECCOMP_VERSION = v2.2.0
+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 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_OPTS = 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
+# 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
-# Not a real autotools package, but works quite OK nonetheless
$(eval $(autotools-package))
OpenPOWER on IntegriCloud