summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgostino Sarubbo <ago@gentoo.org>2012-10-10 14:07:05 +0000
committerAgostino Sarubbo <ago@gentoo.org>2012-10-10 14:07:05 +0000
commitfa141bb5bd3b3eccdb2b5d6ea01b7ac1750a137d (patch)
tree44c0bc419a959172abbf22c7dacb808984c8542d /app-crypt/sign/sign-1.0.7.ebuild
parentFix unescaped usage of 'ICEICONSDIR' variable (diff)
downloadgentoo-2-fa141bb5bd3b3eccdb2b5d6ea01b7ac1750a137d.tar.gz
gentoo-2-fa141bb5bd3b3eccdb2b5d6ea01b7ac1750a137d.tar.bz2
gentoo-2-fa141bb5bd3b3eccdb2b5d6ea01b7ac1750a137d.zip
eapi4
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'app-crypt/sign/sign-1.0.7.ebuild')
-rw-r--r--app-crypt/sign/sign-1.0.7.ebuild21
1 files changed, 10 insertions, 11 deletions
diff --git a/app-crypt/sign/sign-1.0.7.ebuild b/app-crypt/sign/sign-1.0.7.ebuild
index b0c5f0128e77..39e413b52d1d 100644
--- a/app-crypt/sign/sign-1.0.7.ebuild
+++ b/app-crypt/sign/sign-1.0.7.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 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.12 2011/04/16 04:30:25 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/sign/sign-1.0.7.ebuild,v 1.13 2012/10/10 14:07:05 ago Exp $
+
+EAPI=4
inherit toolchain-funcs eutils
@@ -16,10 +18,7 @@ IUSE=""
RDEPEND=">=dev-libs/openssl-0.9.8"
DEPEND="${RDEPEND}"
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
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
@@ -27,12 +26,12 @@ src_unpack() {
}
src_compile() {
- emake CC="$(tc-getCC)" || die
+ emake CC="$(tc-getCC)"
}
src_install() {
- dobin sign || die
- doman man/sign.1 || die
- dodoc README || die
- dosym sign /usr/bin/unsign || die
+ dobin ${PN}
+ doman man/${PN}.1
+ dodoc README
+ dosym ${PN} /usr/bin/un${PN}
}