# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=5 inherit toolchain-funcs DESCRIPTION="Converts PVK files to PEM files and back again" HOMEPAGE="http://www.drh-consultancy.demon.co.uk/pvk.html" SRC_URI="http://www.drh-consultancy.demon.co.uk/${PN}src.tgz.bin" LICENSE="openssl" SLOT="0" KEYWORDS="~amd64" IUSE="" DEPEND="dev-libs/openssl" RDEPEND="${DEPEND}" S="${WORKDIR}" src_unpack() { tar xof "${DISTDIR}/${A}" || die "failure unpacking ${A}" } src_prepare() { tc-export CC } src_compile() { emake SSLINC=. SSLLIB=. \ CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" } src_install() { dobin pvk dodoc README }