summaryrefslogtreecommitdiff
path: root/packages/beecrypt
diff options
context:
space:
mode:
Diffstat (limited to 'packages/beecrypt')
-rw-r--r--packages/beecrypt/beecrypt_3.1.0.bb16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/beecrypt/beecrypt_3.1.0.bb b/packages/beecrypt/beecrypt_3.1.0.bb
index 3187b9b12a..f9a45e74df 100644
--- a/packages/beecrypt/beecrypt_3.1.0.bb
+++ b/packages/beecrypt/beecrypt_3.1.0.bb
@@ -6,7 +6,23 @@ DESCRIPTION="Beecrypt is a general-purpose cryptography library."
HOMEPAGE="http://sourceforge.net/projects/beecrypt"
SRC_URI="${SOURCEFORGE_MIRROR}/beecrypt/beecrypt-${PV}.tar.gz"
+PR = "r2"
+
inherit autotools
acpaths=""
EXTRA_OECONF="--with-arch=${TARGET_ARCH} --enable-shared --enable-static"
+
+do_stage() {
+
+# oe_libinstall -a -C .libs libbeecrypt ${STAGING_LIBDIR}
+ cp .libs/libbeecrypt.a ${STAGING_LIBDIR}/
+ install -d ${STAGING_INCDIR}/
+ install -d ${STAGING_INCDIR}/beecrypt
+ for X in beecrypt.h beecrypt.api.h memchunk.h mpnumber.h beecrypt.gnu.h mp.h mpopt.h blockmode.h endianness.h
+ do
+ install -m 0644 ${X} ${STAGING_INCDIR}/beecrypt/${X}
+ done
+
+}
+