summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreroen <eroen@occam.eroen.eu>2015-08-26 20:07:50 +0200
committereroen <eroen@occam.eroen.eu>2015-08-26 20:54:36 +0200
commit74ed5fcf74f983db095b9b8774aa06e8f936e2ae (patch)
tree7dfc34fae3db4a86bba2737c48ec5ee2061eb5d7 /dev-util
parentpyffi - (diff)
downloaderoen-74ed5fcf74f983db095b9b8774aa06e8f936e2ae.tar.gz
eroen-74ed5fcf74f983db095b9b8774aa06e8f936e2ae.tar.bz2
eroen-74ed5fcf74f983db095b9b8774aa06e8f936e2ae.zip
patchelf - add prerelease snapshot in new SLOT
Unreleased --add-needed feature is required for other things.
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/patchelf/Manifest1
-rw-r--r--dev-util/patchelf/metadata.xml4
-rw-r--r--dev-util/patchelf/patchelf-0.8_p20150724.ebuild44
3 files changed, 49 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+</pkgmetadata>
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
+}