summaryrefslogtreecommitdiffstats
path: root/package/libseccomp/libseccomp.mk
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2012-12-16 06:56:19 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-12-16 21:37:50 +0100
commitfd303038febaf7008a1f04262dc5decb32d1cfab (patch)
treeb9efba2dc4394061eec78c46df0550caca82cc81 /package/libseccomp/libseccomp.mk
parent5faf337b39a0515439b828c5ad12858fa9c02b38 (diff)
downloadbuildroot-novena-fd303038febaf7008a1f04262dc5decb32d1cfab.tar.gz
buildroot-novena-fd303038febaf7008a1f04262dc5decb32d1cfab.zip
package/libseccomp: new package
[Peter: fix typo in help text] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libseccomp/libseccomp.mk')
-rw-r--r--package/libseccomp/libseccomp.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/libseccomp/libseccomp.mk b/package/libseccomp/libseccomp.mk
new file mode 100644
index 000000000..73fe632b1
--- /dev/null
+++ b/package/libseccomp/libseccomp.mk
@@ -0,0 +1,22 @@
+#############################################################
+#
+# libseccomp
+#
+#############################################################
+
+LIBSECCOMP_VERSION = 1.0.0
+LIBSECCOMP_SOURCE = libseccomp-$(LIBSECCOMP_VERSION).tar.gz
+LIBSECCOMP_SITE = http://downloads.sourceforge.net/project/libseccomp
+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_OPT = SUBDIRS_BUILD=src
+LIBSECCOMP_INSTALL_STAGING_OPT = SUBDIRS_BUILD=src SUBDIRS_INSTALL="src include" DESTDIR=$(STAGING_DIR) install
+LIBSECCOMP_INSTALL_TARGET_OPT = SUBDIRS_BUILD=src SUBDIRS_INSTALL="src include" DESTDIR=$(TARGET_DIR) install
+
+# Not a real autotools package, but works quite OK nonetheless
+$(eval $(autotools-package))