diff options
Diffstat (limited to 'net-libs/polarssl')
-rw-r--r-- | net-libs/polarssl/ChangeLog | 6 | ||||
-rw-r--r-- | net-libs/polarssl/polarssl-0.14.0.ebuild | 65 |
2 files changed, 5 insertions, 66 deletions
diff --git a/net-libs/polarssl/ChangeLog b/net-libs/polarssl/ChangeLog index 67a00e748c6a..b603aae63d4a 100644 --- a/net-libs/polarssl/ChangeLog +++ b/net-libs/polarssl/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-libs/polarssl # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/polarssl/ChangeLog,v 1.21 2011/07/07 03:58:54 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/polarssl/ChangeLog,v 1.22 2011/10/09 18:12:13 tommy Exp $ + + 09 Oct 2011; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> + -polarssl-0.14.0.ebuild: + Drop old version 07 Jul 2011; Alexis Ballier <aballier@gentoo.org> polarssl-0.14.2.ebuild: keyword ~x86-fbsd diff --git a/net-libs/polarssl/polarssl-0.14.0.ebuild b/net-libs/polarssl/polarssl-0.14.0.ebuild deleted file mode 100644 index 46c3f3b2dfc8..000000000000 --- a/net-libs/polarssl/polarssl-0.14.0.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/polarssl/polarssl-0.14.0.ebuild,v 1.8 2010/10/11 18:49:37 jer Exp $ - -EAPI=2 - -inherit eutils - -DESCRIPTION="Cryptographic library for embedded systems" -HOMEPAGE="http://polarssl.org/" -SRC_URI="http://polarssl.org/code/download/${P}-gpl.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 hppa ppc ppc64 ~sparc x86" -IUSE="examples sse2" - -src_prepare() { - epatch "${FILESDIR}"/${P}-{makefile,ldflags}.patch - cd library - if use sse2 ; then - sed -i '15iCFLAGS += -DHAVE_SSE2 -fPIC' Makefile - else - sed -i '15iCFLAGS += -fPIC' Makefile - fi -} - -src_compile() { - cd library - emake libpolarssl.so || die "emake failed" - - if use examples ; then - cd programs - emake all || die "emake failed" - fi -} - -src_test() { - cd programs - emake test/selftest || die "emake selftest failed" - LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:../library" ./test/selftest || die "selftest failed" - cd "${S}" - emake check || die -} - -src_install() { - insinto /usr/include/polarssl - doins include/polarssl/*.h || die - dolib.so library/libpolarssl.so || die - dolib.a library/libpolarssl.a || die - - if use examples ; then - for p in programs/*/* ; do - if [[ -x "${p}" && ! -d "${p}" ]] ; then - f=polarssl_`basename "${p}"` - newbin "${p}" "${f}" || die - fi - done - for e in aes hash pkey ssl test ; do - docinto "${e}" - dodoc programs/"${e}"/*.c || die - dodoc programs/"${e}"/*.txt || die - done - fi -} |