summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/libtomcrypt/ChangeLog7
-rw-r--r--dev-libs/libtomcrypt/files/digest-libtomcrypt-0.98-r12
-rw-r--r--dev-libs/libtomcrypt/libtomcrypt-0.98-r1.ebuild40
3 files changed, 48 insertions, 1 deletions
diff --git a/dev-libs/libtomcrypt/ChangeLog b/dev-libs/libtomcrypt/ChangeLog
index 3cbed188e252..e554d37b6de0 100644
--- a/dev-libs/libtomcrypt/ChangeLog
+++ b/dev-libs/libtomcrypt/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/libtomcrypt
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtomcrypt/ChangeLog,v 1.19 2004/08/06 17:19:10 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtomcrypt/ChangeLog,v 1.20 2004/08/13 15:41:18 vapier Exp $
+
+*libtomcrypt-0.98-r1 (13 Aug 2004)
+
+ 13 Aug 2004; Mike Frysinger <vapier@gentoo.org> +libtomcrypt-0.98-r1.ebuild:
+ Add a bunch of patches Tom sent me.
*libtomcrypt-0.98 (06 Aug 2004)
diff --git a/dev-libs/libtomcrypt/files/digest-libtomcrypt-0.98-r1 b/dev-libs/libtomcrypt/files/digest-libtomcrypt-0.98-r1
new file mode 100644
index 000000000000..4d19ee3a8daa
--- /dev/null
+++ b/dev-libs/libtomcrypt/files/digest-libtomcrypt-0.98-r1
@@ -0,0 +1,2 @@
+MD5 19215f6876671f9fc43e15703088a74a crypt-0.98.tar.bz2 867290
+MD5 b4453b23a19f80f6c260275ccb260db2 ltc-0.98-001.tar.bz2 2535
diff --git a/dev-libs/libtomcrypt/libtomcrypt-0.98-r1.ebuild b/dev-libs/libtomcrypt/libtomcrypt-0.98-r1.ebuild
new file mode 100644
index 000000000000..1b5fd026969f
--- /dev/null
+++ b/dev-libs/libtomcrypt/libtomcrypt-0.98-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtomcrypt/libtomcrypt-0.98-r1.ebuild,v 1.1 2004/08/13 15:41:18 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="modular and portable cryptographic toolkit"
+HOMEPAGE="http://libtomcrypt.org/"
+SRC_URI="http://libtomcrypt.org/files/crypt-${PV}.tar.bz2
+ http://libtomcrypt.org/files/patch-${PV}/ltc-${PV}-001.tar.bz2"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="x86 ppc"
+IUSE="doc"
+
+DEPEND="doc? ( virtual/tetex app-text/ghostscript )"
+
+src_unpack() {
+ unpack crypt-${PV}.tar.bz2
+ mkdir patches && cd patches
+ unpack ltc-${PV}-001.tar.bz2
+ cd ${S}
+ epatch $(find ${WORKDIR}/patches -type f)
+ use doc || sed -i '/^install:/s:docs::' makefile
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc authors changes
+ if use doc ; then
+ docinto examples ; dodoc examples/*
+ docinto notes ; dodoc notes/*
+ docinto demos ; dodoc demos/*
+ fi
+}