summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-06-02 14:50:52 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-06-03 14:49:47 (GMT)
commit0f0f72c8792ff416621cdd354aca084f1c0c4e02 (patch)
tree258b8f31f065899c13eb5861d57ebd664722d5c5
parent0e1ec378b32486c27bdd69589a493ed79dac2708 (diff)
downloadbuildroot-0f0f72c8792ff416621cdd354aca084f1c0c4e02.tar.gz
buildroot-0f0f72c8792ff416621cdd354aca084f1c0c4e02.tar.bz2
p11-kit: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/Config.in1
-rw-r--r--package/p11-kit/Config.in15
-rw-r--r--package/p11-kit/p11-kit.mk15
3 files changed, 31 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 8a29c99..0d4ed90 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -610,6 +610,7 @@ source "package/mpc/Config.in"
source "package/mpfr/Config.in"
source "package/mtdev2tuio/Config.in"
source "package/orc/Config.in"
+source "package/p11-kit/Config.in"
source "package/poco/Config.in"
source "package/protobuf/Config.in"
source "package/protobuf-c/Config.in"
diff --git a/package/p11-kit/Config.in b/package/p11-kit/Config.in
new file mode 100644
index 0000000..40a07d3
--- /dev/null
+++ b/package/p11-kit/Config.in
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_P11_KIT
+ bool "p11-kit"
+ depends on !BR2_PREFER_STATIC_LIB
+ depends on BR2_USE_MMU
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ select BR2_PACKAGE_LIBTASN1
+ help
+ Provides a way to load and enumerate PKCS#11 modules.
+ Provides a standard configuration setup for installing PKCS#11
+ modules in such a way that they're discoverable.
+
+ http://p11-glue.freedesktop.org/p11-kit.html
+
+comment "p11-kit requires a toolchain with thread support"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/p11-kit/p11-kit.mk b/package/p11-kit/p11-kit.mk
new file mode 100644
index 0000000..2ddb27c
--- /dev/null
+++ b/package/p11-kit/p11-kit.mk
@@ -0,0 +1,15 @@
+#############################################################
+#
+# p11-kit
+#
+#############################################################
+
+P11_KIT_VERSION = 0.18.1
+P11_KIT_SITE = http://p11-glue.freedesktop.org/releases
+P11_KIT_DEPENDENCIES = host-pkgconf libtasn1
+P11_KIT_INSTALL_STAGING = YES
+P11_KIT_CONF_OPT = --disable-static
+P11_KIT_LICENSE = BSD-3c
+P11_KIT_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))