From 74ed5fcf74f983db095b9b8774aa06e8f936e2ae Mon Sep 17 00:00:00 2001 From: eroen Date: Wed, 26 Aug 2015 20:07:50 +0200 Subject: patchelf - add prerelease snapshot in new SLOT Unreleased --add-needed feature is required for other things. --- dev-util/patchelf/Manifest | 1 + dev-util/patchelf/metadata.xml | 4 +++ dev-util/patchelf/patchelf-0.8_p20150724.ebuild | 44 +++++++++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 dev-util/patchelf/Manifest create mode 100644 dev-util/patchelf/metadata.xml create mode 100644 dev-util/patchelf/patchelf-0.8_p20150724.ebuild (limited to 'dev-util') diff --git a/dev-util/patchelf/Manifest b/dev-util/patchelf/Manifest new file mode 100644 index 0000000..67ecbfa --- /dev/null +++ b/dev-util/patchelf/Manifest @@ -0,0 +1 @@ +DIST patchelf-0.8_p20150724.tar.gz 96065 SHA256 3b951ef744042b95e5537a5fa07ae13eb9a44fbcfa3bafe83c6ffd2a7978d138 SHA512 b344870dc7f69bba991905bc27d70e46a2cfe939d39b6d1f0e58d61de3b2b878771a9ede8209282a4e38bcf6828b0190380b5c6ec50b2a982fde3aff3fec4226 WHIRLPOOL 2e0e2c9f55341c2d05b2a9dc09ca37254de3778c41c49d45ebfefb6650d9becc9c03044ec0eef6955d413bbdbd8b479dad60f399fe4b177044d760495a5b7ac1 diff --git a/dev-util/patchelf/metadata.xml b/dev-util/patchelf/metadata.xml new file mode 100644 index 0000000..097975e --- /dev/null +++ b/dev-util/patchelf/metadata.xml @@ -0,0 +1,4 @@ + + + + diff --git a/dev-util/patchelf/patchelf-0.8_p20150724.ebuild b/dev-util/patchelf/patchelf-0.8_p20150724.ebuild new file mode 100644 index 0000000..356b732 --- /dev/null +++ b/dev-util/patchelf/patchelf-0.8_p20150724.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils + +DESCRIPTION="Small utility to modify the dynamic linker and RPATH of ELF executables" +HOMEPAGE="http://nixos.org/patchelf.html https://github.com/NixOS/patchelf" +#SRC_URI="http://releases.nixos.org/${PN}/${P}/${P}.tar.bz2" +MY_COMMIT=b202ad239ed815fbc59dd0a5cb2def5991116c42 +SRC_URI="https://github.com/NixOS/patchelf/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" +S=$WORKDIR/${PN}-$MY_COMMIT + +SLOT="prerelease" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +LICENSE="GPL-3" +IUSE="" + +AUTOTOOLS_IN_SOURCE_BUILD=1 + +src_prepare() { + rm -f src/elf.h || die + sed -e 's:-Werror::g' -i configure.ac || die + autotools-utils_src_prepare +} + +src_configure() { + local myeconfargs=( --docdir="${EPREFIX}"/usr/share/doc/${PF} ) + autotools-utils_src_configure +} + +src_test() { + autotools-utils_src_test -j1 +} + +src_install() { + autotools-utils_src_install + mv "${ED%/}"/usr/bin/patchelf{,-${SLOT}} || die + mv "${ED%/}"/usr/share/man/man1/patchelf{,-${SLOT}}.1 || die +} -- cgit v1.2.3-65-gdbad