# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=4 DESCRIPTION="Signing tool for PE-COFF binaries" HOMEPAGE="https://github.com/vathpela/pesign" SRC_URI="http://github.com/vathpela/${PN}/archive/${PV}.zip" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="" RDEPEND="dev-libs/nss dev-libs/nspr sys-boot/gnu-efi" DEPEND="${RDEPEND} app-arch/unzip" src_prepare(){ # Fix path to nss and nspr header files sed -i -e 's/nss3/nss/' src/*.c src/*.h || die sed -i -e 's/nspr4/nspr/' src/*.c src/*.h || die } src_install() { emake INSTALLROOT="${D}" install }