summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-04-16 04:30:25 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-04-16 04:30:25 +0000
commit3ca13d20e40b182797ce427545c96079ac6c9fbc (patch)
tree285c717e06cadf78d30335824eac10ab3ac6f830 /app-crypt/sign
parentVersion bump, remove old (diff)
downloadgentoo-2-3ca13d20e40b182797ce427545c96079ac6c9fbc.tar.gz
gentoo-2-3ca13d20e40b182797ce427545c96079ac6c9fbc.tar.bz2
gentoo-2-3ca13d20e40b182797ce427545c96079ac6c9fbc.zip
Force at least openssl 0.9.8 in order to remove ugly has_version and epatch combination
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'app-crypt/sign')
-rw-r--r--app-crypt/sign/sign-1.0.7.ebuild20
1 files changed, 11 insertions, 9 deletions
diff --git a/app-crypt/sign/sign-1.0.7.ebuild b/app-crypt/sign/sign-1.0.7.ebuild
index e6e9f264cc4a..b0c5f0128e77 100644
--- a/app-crypt/sign/sign-1.0.7.ebuild
+++ b/app-crypt/sign/sign-1.0.7.ebuild
@@ -1,36 +1,38 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/sign/sign-1.0.7.ebuild,v 1.11 2010/10/25 18:20:02 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/sign/sign-1.0.7.ebuild,v 1.12 2011/04/16 04:30:25 ssuominen Exp $
inherit toolchain-funcs eutils
DESCRIPTION="File signing and signature verification utility"
HOMEPAGE="http://swapped.cc/sign/"
SRC_URI="http://swapped.cc/${PN}/files/${P}.tar.gz"
+
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ppc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""
-DEPEND=">=dev-libs/openssl-0.9.6"
+RDEPEND=">=dev-libs/openssl-0.9.8"
+DEPEND="${RDEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
- has_version ">=dev-libs/openssl-0.9.8" && epatch "${FILESDIR}"/${PV}-openssl-0.9.8.patch
+ epatch "${FILESDIR}"/${PV}-openssl-0.9.8.patch
epatch "${FILESDIR}"/${PV}-as-needed.patch
# remove -g from CFLAGS, it happens to break the build on ppc-macos
sed -i -e 's/-g//' src/Makefile || die
}
src_compile() {
- emake CC="$(tc-getCC)" || die "emake failed"
+ emake CC="$(tc-getCC)" || die
}
src_install() {
- dobin sign || die "dobin failed"
- doman man/sign.1 || die "doman failed"
- dodoc README || die "dodoc failed"
- dosym sign /usr/bin/unsign || die "dosym failed"
+ dobin sign || die
+ doman man/sign.1 || die
+ dodoc README || die
+ dosym sign /usr/bin/unsign || die
}