# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=3 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_compile () { tc-export CC emake \ CFLAGS="${CFLAGS}" \ || die "emake fail" } src_install () { dobin pvk dodoc README }