summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-08-08 17:09:53 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-08-08 17:09:53 +0000
commit940c9a4d4f18146256c2e6fa78a374331ac782b7 (patch)
treeef00f7c76df2548d7236ac4705e57bb697e9b07d /dev-libs/nettle
parentUpdated netcdf dependency, thanks dli (diff)
downloadgentoo-2-940c9a4d4f18146256c2e6fa78a374331ac782b7.tar.gz
gentoo-2-940c9a4d4f18146256c2e6fa78a374331ac782b7.tar.bz2
gentoo-2-940c9a4d4f18146256c2e6fa78a374331ac782b7.zip
Version bump. Ebuild by Arfrever
(Portage version: 2.2.0_alpha46/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/nettle')
-rw-r--r--dev-libs/nettle/ChangeLog7
-rw-r--r--dev-libs/nettle/nettle-2.2.ebuild37
2 files changed, 43 insertions, 1 deletions
diff --git a/dev-libs/nettle/ChangeLog b/dev-libs/nettle/ChangeLog
index ae26594b3fd4..ea3e56d1d35c 100644
--- a/dev-libs/nettle/ChangeLog
+++ b/dev-libs/nettle/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/nettle
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nettle/ChangeLog,v 1.42 2011/07/24 10:29:52 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/nettle/ChangeLog,v 1.43 2011/08/08 17:09:53 hwoarang Exp $
+
+*nettle-2.2 (08 Aug 2011)
+
+ 08 Aug 2011; Markos Chandras <hwoarang@gentoo.org> +nettle-2.2.ebuild:
+ Version bump. Ebuild by Arfrever
24 Jul 2011; Raúl Porcel <armin76@gentoo.org> nettle-2.1.ebuild:
sh stable wrt #337160
diff --git a/dev-libs/nettle/nettle-2.2.ebuild b/dev-libs/nettle/nettle-2.2.ebuild
new file mode 100644
index 000000000000..27e24513d479
--- /dev/null
+++ b/dev-libs/nettle/nettle-2.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/nettle/nettle-2.2.ebuild,v 1.1 2011/08/08 17:09:53 hwoarang Exp $
+
+EAPI="4"
+
+inherit autotools
+
+DESCRIPTION="Low-level cryptographic library"
+HOMEPAGE="http://www.lysator.liu.se/~nisse/nettle/"
+SRC_URI="http://www.lysator.liu.se/~nisse/archive/${P}.tar.gz"
+
+LICENSE="|| ( LGPL-3 LGPL-2.1 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="gmp ssl"
+
+DEPEND="gmp? ( dev-libs/gmp )
+ ssl? ( dev-libs/openssl )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -e "/CFLAGS=/s: -ggdb3::" -i configure.ac || die "sed failed"
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --enable-shared \
+ $(use_enable gmp public-key) \
+ $(use_enable ssl openssl)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc ChangeLog NEWS README
+}