diff options
Diffstat (limited to 'package/beecrypt')
-rw-r--r-- | package/beecrypt/Config.in | 7 | ||||
-rw-r--r-- | package/beecrypt/beecrypt-4.1.2_no-cxx-glue.patch | 12 | ||||
-rw-r--r-- | package/beecrypt/beecrypt.mk | 18 |
3 files changed, 37 insertions, 0 deletions
diff --git a/package/beecrypt/Config.in b/package/beecrypt/Config.in new file mode 100644 index 000000000..d71785074 --- /dev/null +++ b/package/beecrypt/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_BEECRYPT + bool "beecrypt" + default n + help + Beecrypt is a general-purpose cryptography library. + + http://beecrypt.sf.net diff --git a/package/beecrypt/beecrypt-4.1.2_no-cxx-glue.patch b/package/beecrypt/beecrypt-4.1.2_no-cxx-glue.patch new file mode 100644 index 000000000..6c4093677 --- /dev/null +++ b/package/beecrypt/beecrypt-4.1.2_no-cxx-glue.patch @@ -0,0 +1,12 @@ +diff -ru beecrypt-4.1.2_vanilla/Makefile.am beecrypt-4.1.2_disable-cxxglue/Makefile.am +--- beecrypt-4.1.2_vanilla/Makefile.am 2004-12-22 07:06:31.000000000 +0000 ++++ beecrypt-4.1.2_disable-cxxglue/Makefile.am 2008-03-21 23:24:51.000000000 +0000 +@@ -49,7 +49,7 @@ + + libalt_LTLIBRARIES = libbeecrypt.la + +-libbeecrypt_la_SOURCES = aes.c base64.c beecrypt.c blockmode.c blockpad.c blowfish.c dhaes.c dldp.c dlkp.c dlpk.c dlsvdp-dh.c dsa.c elgamal.c endianness.c entropy.c fips186.c hmac.c hmacmd5.c hmacsha1.c hmacsha256.c md5.c hmacsha384.c hmacsha512.c memchunk.c mp.c mpbarrett.c mpnumber.c mpprime.c mtprng.c pkcs1.c pkcs12.c rsa.c rsakp.c rsapk.c sha1.c sha256.c sha384.c sha512.c sha_k.c timestamp.c cppglue.cxx ++libbeecrypt_la_SOURCES = aes.c base64.c beecrypt.c blockmode.c blockpad.c blowfish.c dhaes.c dldp.c dlkp.c dlpk.c dlsvdp-dh.c dsa.c elgamal.c endianness.c entropy.c fips186.c hmac.c hmacmd5.c hmacsha1.c hmacsha256.c md5.c hmacsha384.c hmacsha512.c memchunk.c mp.c mpbarrett.c mpnumber.c mpprime.c mtprng.c pkcs1.c pkcs12.c rsa.c rsakp.c rsapk.c sha1.c sha256.c sha384.c sha512.c sha_k.c timestamp.c + libbeecrypt_la_DEPENDENCIES = $(BEECRYPT_OBJECTS) + libbeecrypt_la_LIBADD = aesopt.lo blowfishopt.lo mpopt.lo sha1opt.lo + libbeecrypt_la_LDFLAGS = -no-undefined -version-info $(LIBBEECRYPT_LT_CURRENT):$(LIBBEECRYPT_LT_REVISION):$(LIBBEECRYPT_LT_AGE) diff --git a/package/beecrypt/beecrypt.mk b/package/beecrypt/beecrypt.mk new file mode 100644 index 000000000..d26d31d8f --- /dev/null +++ b/package/beecrypt/beecrypt.mk @@ -0,0 +1,18 @@ +############################################################# +# +# beecrypt +# +############################################################# +BEECRYPT_VERSION = 4.1.2 +BEECRYPT_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/beecrypt +BEECRYPT_AUTORECONF = YES +BEECRYPT_INSTALL_STAGING = YES + +BEECRYPT_CONF_OPT = --without-cplusplus \ + --without-java \ + --without-python \ + --disable-rpath + +BEECRYPT_INSTALL_TARGET_OPT=DESTDIR=$(TARGET_DIR) install + +$(eval $(call AUTOTARGETS,package,beecrypt)) |