diff options
Diffstat (limited to 'app-crypt/sign/sign-1.0.7.ebuild')
-rw-r--r-- | app-crypt/sign/sign-1.0.7.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/app-crypt/sign/sign-1.0.7.ebuild b/app-crypt/sign/sign-1.0.7.ebuild new file mode 100644 index 000000000000..3277e9e9ba25 --- /dev/null +++ b/app-crypt/sign/sign-1.0.7.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +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="BZIP2" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="" + +RDEPEND=">=dev-libs/openssl-0.9.8" +DEPEND="${RDEPEND}" + +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 + sed -i -e 's/-g//' src/Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + dobin ${PN} + doman man/${PN}.1 + dodoc README + dosym ${PN} /usr/bin/un${PN} +} |