summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2003-11-11 23:53:11 +0000
committerAron Griffis <agriffis@gentoo.org>2003-11-11 23:53:11 +0000
commit44853ff980e0c3af5046aa59e6269e75bf70878e (patch)
treed8883db305e0d4a9c8ad952e17a048dbb2715453 /dev-libs
parentuse /usr/lib on alpha (diff)
downloadgentoo-2-44853ff980e0c3af5046aa59e6269e75bf70878e.tar.gz
gentoo-2-44853ff980e0c3af5046aa59e6269e75bf70878e.tar.bz2
gentoo-2-44853ff980e0c3af5046aa59e6269e75bf70878e.zip
use /usr/lib on alpha
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/beecrypt/ChangeLog8
-rw-r--r--dev-libs/beecrypt/Manifest4
-rw-r--r--dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild41
-rw-r--r--dev-libs/beecrypt/files/beecrypt-3.1.0-alpha.patch11
-rw-r--r--dev-libs/beecrypt/files/digest-beecrypt-3.1.0-r11
5 files changed, 62 insertions, 3 deletions
diff --git a/dev-libs/beecrypt/ChangeLog b/dev-libs/beecrypt/ChangeLog
index 033722572721..eaede8208c2a 100644
--- a/dev-libs/beecrypt/ChangeLog
+++ b/dev-libs/beecrypt/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/beecrypt
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/ChangeLog,v 1.4 2003/10/28 17:28:16 cretin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/ChangeLog,v 1.5 2003/11/11 23:53:08 agriffis Exp $
+
+*beecrypt-3.1.0-r1 (11 Nov 2003)
+
+ 11 Nov 2003; Aron Griffis <agriffis@gentoo.org> beecrypt-3.1.0-r1.ebuild,
+ files/beecrypt-3.1.0-alpha.patch:
+ Fix installation on alpha to usr /usr/lib instead of /usr/lib64
28 Oct 2003; Stefan Jones <cretin@gentoo.org> :
block <app-arch/rpm-4.2.1 as both provide beecrypt
diff --git a/dev-libs/beecrypt/Manifest b/dev-libs/beecrypt/Manifest
index 79807bb76d6e..080691f9764b 100644
--- a/dev-libs/beecrypt/Manifest
+++ b/dev-libs/beecrypt/Manifest
@@ -1,5 +1,5 @@
-MD5 329b7c606272983164402f3c52febd13 ChangeLog 936
-MD5 7f783c039eb524cd38574d96425c257b beecrypt-3.1.0-r1.ebuild 1168
+MD5 3e346667cd31c7bbad8ad04321eb8fe6 ChangeLog 938
+MD5 7ceeff8d282e2076359e4dfb459aab2a beecrypt-3.1.0-r1.ebuild 1173
MD5 6bce8a668d96b5ade40a38ead9551f79 beecrypt-3.1.0.ebuild 864
MD5 1c56cad20612ef6cbb3d1b56fa3c0b2e files/digest-beecrypt-3.1.0 66
MD5 0662ebed6b09d49025d75c26915726ab files/beecrypt-3.1.0-alpha.patch 323
diff --git a/dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild b/dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild
new file mode 100644
index 000000000000..59c7b429ce2f
--- /dev/null
+++ b/dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/beecrypt/beecrypt-3.1.0-r1.ebuild,v 1.1 2003/11/11 23:53:08 agriffis Exp $
+
+DESCRIPTION="Beecrypt is a general-purpose cryptography library."
+HOMEPAGE="http://sourceforge.net/projects/beecrypt"
+SRC_URI="mirror://sourceforge/beecrypt/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+SLOT="0"
+
+DEPEND="python? ( =dev-lang/python-2.2* )
+ !<app-arch/rpm-4.2.1"
+
+IUSE="python"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # Prevent usage of lib64 on alpha where it isn't appropriate. We
+ # only have one execution model, so all libraries install in
+ # /usr/lib. This patch can apply regardless of architecture
+ # (11 Nov 2003 agriffis)
+ epatch ${FILESDIR}/beecrypt-3.1.0-alpha.patch
+}
+
+src_compile() {
+ econf \
+ `use_with python` \
+ --enable-shared \
+ --enable-static || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+ # Not needed
+ rm -f ${D}/usr/lib/python*/site-packages/_bc.*a
+ dodoc BUGS README BENCHMARKS NEWS || die "dodoc failed"
+}
diff --git a/dev-libs/beecrypt/files/beecrypt-3.1.0-alpha.patch b/dev-libs/beecrypt/files/beecrypt-3.1.0-alpha.patch
new file mode 100644
index 000000000000..4f02541bdd74
--- /dev/null
+++ b/dev-libs/beecrypt/files/beecrypt-3.1.0-alpha.patch
@@ -0,0 +1,11 @@
+--- beecrypt-3.1.0/configure.ac.old 2003-08-17 02:46:57.000000000 -0400
++++ beecrypt-3.1.0/configure.ac 2003-11-11 18:31:44.000000000 -0500
+@@ -757,7 +757,7 @@
+ case $target_os in
+ linux*)
+ case $bc_target_arch in
+- alpha* | powerpc64 | s390x | x86_64)
++ powerpc64 | s390x | x86_64)
+ bc_libalt="64"
+ ;;
+ esac
diff --git a/dev-libs/beecrypt/files/digest-beecrypt-3.1.0-r1 b/dev-libs/beecrypt/files/digest-beecrypt-3.1.0-r1
new file mode 100644
index 000000000000..c1eceaa1cc97
--- /dev/null
+++ b/dev-libs/beecrypt/files/digest-beecrypt-3.1.0-r1
@@ -0,0 +1 @@
+MD5 1472cada46e2ab9f532f984de9740386 beecrypt-3.1.0.tar.gz 452555