diff options
author | 2013-08-29 23:18:56 +0000 | |
---|---|---|
committer | 2013-08-29 23:18:56 +0000 | |
commit | f8f42874493609b2dc85a42e457fb853ff256a40 (patch) | |
tree | a339b52d406e6bdc1b5400f43375d612bd36e779 /app-crypt/pesign/pesign-0.108.ebuild | |
parent | amd64/ppc/ppc64/x86 stable wrt bug #482926 (diff) | |
download | gentoo-2-f8f42874493609b2dc85a42e457fb853ff256a40.tar.gz gentoo-2-f8f42874493609b2dc85a42e457fb853ff256a40.tar.bz2 gentoo-2-f8f42874493609b2dc85a42e457fb853ff256a40.zip |
0.108 pesign added
(Portage version: 2.2.1/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-crypt/pesign/pesign-0.108.ebuild')
-rw-r--r-- | app-crypt/pesign/pesign-0.108.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/app-crypt/pesign/pesign-0.108.ebuild b/app-crypt/pesign/pesign-0.108.ebuild new file mode 100644 index 000000000000..f8ea85373db1 --- /dev/null +++ b/app-crypt/pesign/pesign-0.108.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/pesign/pesign-0.108.ebuild,v 1.1 2013/08/29 23:18:55 gregkh Exp $ + +EAPI="4" +inherit eutils multilib + +DESCRIPTION="Tools for manipulating signed PE-COFF binaries" +HOMEPAGE="https://github.com/vathpela/pesign" +SRC_URI="https://github.com/vathpela/${PN}/archive/${PV}.tar.gz" + + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-libs/openssl + sys-apps/util-linux" +DEPEND="${RDEPEND} + sys-apps/help2man + sys-boot/gnu-efi + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/destdir.patch +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" + dodoc README COPYING TODO || die + + # remove some files that don't make sense for Gentoo installs + rm -rf ${D}/etc/ + rm -rf ${D}/usr/share/doc/pesign/ + + # create .so symlink + cd ${D}/usr/$(get_libdir)/ + #cd ${D}/lib64/ + ln -s libdpe.so libdpe.so.0 +} +# +#src_prepare() { +# local iarch +# case ${ARCH} in +# ia64) iarch=ia64 ;; +# x86) iarch=ia32 ;; +# amd64) iarch=x86_64 ;; +# *) die "unsupported architecture: ${ARCH}" ;; +# esac +# sed -i "/^EFI_ARCH=/s:=.*:=${iarch}:" configure || die +# sed -i 's/-m64$/& -march=x86-64/' tests/Makefile.in || die +#} |