Skip to contentSkip to conversation

botan: new package

PATCH New Francois Perrad 2 participants 2 messages Oct 6, 2014 – Oct 7, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 botan: new package

---
 package/Config.in       |  1 +
 package/botan/Config.in | 10 ++++++++
 package/botan/botan.mk  | 62 +++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 73 insertions(+)
 create mode 100644 package/botan/Config.in
 create mode 100644 package/botan/botan.mk
package/Config.in +1 -0
index 4520ba6..cb32961 100644
@@ -562,6 +562,7 @@ endmenu
 
 menu "Crypto"
 	source "package/beecrypt/Config.in"
+	source "package/botan/Config.in"
 	source "package/ca-certificates/Config.in"
 	source "package/cryptodev/Config.in"
 	source "package/gnutls/Config.in"
package/botan/Config.in new file +10 -0
new file mode 100644
index 0000000..4911872
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_BOTAN
+	bool "botan"
+	depends on BR2_INSTALL_LIBSTDCPP
+	help
+	  Botan is a crypto library for C++
+
+	  http://botan.randombit.net
+
+comment "botan needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
package/botan/botan.mk new file +62 -0

62 lines not on this page · raw message

Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 botan: new package

Quoted 16 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Francois" == Francois Perrad <[email protected]> writes:

---
 package/Config.in       |  1 +
 package/botan/Config.in | 10 ++++++++
 package/botan/botan.mk  | 62 +++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 73 insertions(+)
 create mode 100644 package/botan/Config.in
 create mode 100644 package/botan/botan.mk
package/Config.in +0 -0
index 4520ba6..cb32961 100644

package/Config.in endmenu · line 565

Quoted 4 lines
package/Config.in +3 -0
@@ -562,6 +562,7 @@ endmenu
 
+define BOTAN_CONFIGURE_CMDS
+	(cd $(@D); ./configure.py $(BOTAN_CONF_OPTS))
+endef

My first thought was that this needed to depend on host-python, but we do require python in support/dependencies/dependencies.sh and a quick test seems to show that it works both with python 2.7 and 3.x.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard