summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-06-30 20:30:07 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-06-30 20:30:07 +0000
commitb71a415392356ee2833979d1ccabe739aad079c4 (patch)
treefb88cf905ec22cf662911e3e7f07a761c4a22ded /dev-libs
parentUpdated profile to use new texinfo and gcc -r7 (diff)
downloadhistorical-b71a415392356ee2833979d1ccabe739aad079c4.tar.gz
historical-b71a415392356ee2833979d1ccabe739aad079c4.tar.bz2
historical-b71a415392356ee2833979d1ccabe739aad079c4.zip
bug #3960
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libmcrypt/ChangeLog10
-rw-r--r--dev-libs/libmcrypt/files/digest-libmcrypt-2.5.1-r31
-rw-r--r--dev-libs/libmcrypt/libmcrypt-2.5.1-r3.ebuild59
3 files changed, 68 insertions, 2 deletions
diff --git a/dev-libs/libmcrypt/ChangeLog b/dev-libs/libmcrypt/ChangeLog
index 7bcb2b162e6b..77dc5f5f0bb3 100644
--- a/dev-libs/libmcrypt/ChangeLog
+++ b/dev-libs/libmcrypt/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libmcrypt
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmcrypt/ChangeLog,v 1.7 2002/06/24 14:09:40 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmcrypt/ChangeLog,v 1.8 2002/06/30 20:30:07 azarah Exp $
+
+*libmcrypt-2.5.1-r3 (30 Jun 2002)
+
+ 30 Jun 2002; Martin Schlemmer <azarah@gentoo.org> :
+
+ Another stab at bug #3940.
*libmcrypt-2.5.1-r2 (24 Jun 2002)
@@ -32,7 +38,7 @@
5 May 2002: Martin Schlemmer <azarah@gentoo.org> libmcrypt-2.4.19-r1.ebuild :
- Resolve bug #2276. Add $Header: /var/cvsroot/gentoo-x86/dev-libs/libmcrypt/ChangeLog,v 1.7 2002/06/24 14:09:40 seemant Exp $.
+ Resolve bug #2276. Add $Header: /var/cvsroot/gentoo-x86/dev-libs/libmcrypt/ChangeLog,v 1.8 2002/06/30 20:30:07 azarah Exp $.
*libmcrypt-2.4.19 (1 Feb 2002)
diff --git a/dev-libs/libmcrypt/files/digest-libmcrypt-2.5.1-r3 b/dev-libs/libmcrypt/files/digest-libmcrypt-2.5.1-r3
new file mode 100644
index 000000000000..4ed9f2f21337
--- /dev/null
+++ b/dev-libs/libmcrypt/files/digest-libmcrypt-2.5.1-r3
@@ -0,0 +1 @@
+MD5 b260193a725cd77c10f8e12c4a505eac libmcrypt-2.5.1.tar.gz 503588
diff --git a/dev-libs/libmcrypt/libmcrypt-2.5.1-r3.ebuild b/dev-libs/libmcrypt/libmcrypt-2.5.1-r3.ebuild
new file mode 100644
index 000000000000..da1390b5f8c9
--- /dev/null
+++ b/dev-libs/libmcrypt/libmcrypt-2.5.1-r3.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmcrypt/libmcrypt-2.5.1-r3.ebuild,v 1.1 2002/06/30 20:30:07 azarah Exp $
+
+inherit libtool
+
+S=${WORKDIR}/${P}
+DESCRIPTION="libmcrypt is a library that provides uniform interface to access several encryption algorithms."
+SRC_URI="ftp://mcrypt.hellug.gr/pub/mcrypt/libmcrypt/${P}.tar.gz"
+HOMEPAGE="http://mcrypt.hellug.gr/"
+
+DEPEND="virtual/glibc
+ >=sys-devel/automake-1.6.1"
+RDEPEND="virtual/glibc"
+SLOT="0"
+LICENSE="GPL-2"
+
+src_unpack() {
+
+ unpack ${A}
+
+ elibtoolize
+
+ # Try to fix some wierd build problems.
+ for x in $(find ${S} -name configure)
+ do
+ export WANT_AUTOMAKE_1_6=1
+ export WANT_AUTOCONF_2_5=1
+ aclocal
+ automake --add-missing --include-deps &>${T}/foo
+ autoconf &>${T}/foo
+ done
+}
+
+src_compile() {
+
+ # Do not compile with -mcpu=k6/5 because of a k6/5 varible
+ # in modules/algorithms/gosh.c
+ CFLAGS="${CFLAGS/mcpu=k/march=k}"
+
+ # Doesn't work with --host bug #3517
+ econf --disable-posix-threads || die
+
+ # PHP manual states to disable posix threads, no further explanation
+ # given, but i'll stick with it :)
+ # (Source: http://www.php.net/manual/en/ref.mcrypt.php)
+
+ emake || die
+}
+
+src_install () {
+
+ dodir /usr/{bin,include,lib}
+
+ einstall || die
+
+ dodoc AUTHORS COPYING INSTALL KNOW-BUGS NEWS README THANKS TODO
+ dodoc doc/README.* doc/example.c
+}