diff options
author | Richard Purdie <richard@openedhand.com> | 2008-08-18 08:02:37 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-08-18 08:02:37 +0000 |
commit | e8f85b3787befaa58a52ea3f61ceb31e2fd7eb51 (patch) | |
tree | f596a0d63531624f53f44dce0f07e7e60a9e3bed /meta/packages/beecrypt | |
parent | ded39e22cde334c31f56ea1603942327b3cf0614 (diff) | |
download | poky-e8f85b3787befaa58a52ea3f61ceb31e2fd7eb51.tar.gz |
beecrypt: Add based on OE.dev recipes with fixes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5068 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/beecrypt')
-rw-r--r-- | meta/packages/beecrypt/beecrypt-native_3.1.0.bb | 9 | ||||
-rw-r--r-- | meta/packages/beecrypt/beecrypt_3.1.0.bb | 17 | ||||
-rw-r--r-- | meta/packages/beecrypt/files/x64fix.patch | 20 |
3 files changed, 46 insertions, 0 deletions
diff --git a/meta/packages/beecrypt/beecrypt-native_3.1.0.bb b/meta/packages/beecrypt/beecrypt-native_3.1.0.bb new file mode 100644 index 0000000000..b056a0fb41 --- /dev/null +++ b/meta/packages/beecrypt/beecrypt-native_3.1.0.bb | |||
@@ -0,0 +1,9 @@ | |||
1 | # beecrypt-native OE build file | ||
2 | # Copyright (C) 2004-2005, Advanced Micro Devices, Inc. All Rights Reserved | ||
3 | # Released under the MIT license (see packages/COPYING) | ||
4 | |||
5 | require beecrypt_${PV}.bb | ||
6 | S = "${WORKDIR}/beecrypt-${PV}" | ||
7 | |||
8 | inherit native | ||
9 | EXTRA_OECONF="--enable-shared --enable-static" | ||
diff --git a/meta/packages/beecrypt/beecrypt_3.1.0.bb b/meta/packages/beecrypt/beecrypt_3.1.0.bb new file mode 100644 index 0000000000..947ca56689 --- /dev/null +++ b/meta/packages/beecrypt/beecrypt_3.1.0.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | # Beecrypt OE build file | ||
2 | # Copyright (C) 2004-2005, Advanced Micro Devices, Inc. All Rights Reserved | ||
3 | # Released under the MIT license (see packages/COPYING) | ||
4 | |||
5 | DESCRIPTION="Beecrypt is a general-purpose cryptography library." | ||
6 | HOMEPAGE="http://sourceforge.net/projects/beecrypt" | ||
7 | SRC_URI="${SOURCEFORGE_MIRROR}/beecrypt/beecrypt-${PV}.tar.gz \ | ||
8 | file://x64fix.patch;patch=1" | ||
9 | |||
10 | inherit autotools | ||
11 | acpaths="" | ||
12 | |||
13 | EXTRA_OECONF="--with-arch=${TARGET_ARCH} --enable-shared --enable-static" | ||
14 | |||
15 | do_stage () { | ||
16 | autotools_stage_all | ||
17 | } | ||
diff --git a/meta/packages/beecrypt/files/x64fix.patch b/meta/packages/beecrypt/files/x64fix.patch new file mode 100644 index 0000000000..9ee75c1404 --- /dev/null +++ b/meta/packages/beecrypt/files/x64fix.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | Index: beecrypt-3.1.0/configure.ac | ||
2 | =================================================================== | ||
3 | --- beecrypt-3.1.0.orig/configure.ac 2008-08-16 12:08:02.000000000 +0100 | ||
4 | +++ beecrypt-3.1.0/configure.ac 2008-08-16 12:08:26.000000000 +0100 | ||
5 | @@ -754,15 +754,6 @@ | ||
6 | |||
7 | # Check where to install the libraries | ||
8 | bc_libalt= | ||
9 | -case $target_os in | ||
10 | -linux*) | ||
11 | - case $bc_target_arch in | ||
12 | - alpha* | powerpc64 | s390x | x86_64) | ||
13 | - bc_libalt="64" | ||
14 | - ;; | ||
15 | - esac | ||
16 | - ;; | ||
17 | -esac | ||
18 | AC_SUBST(LIBALT,$bc_libalt) | ||
19 | |||
20 | # Generate output files. | ||