1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 AUTOTOOLS_AUTORECONF=true
8 inherit autotools-utils
10 DESCRIPTION="Small utility to modify the dynamic linker and RPATH of ELF executables"
11 HOMEPAGE="http://nixos.org/patchelf.html"
12 SRC_URI="http://releases.nixos.org/${PN}/${P}/${P}.tar.bz2"
15 KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
19 AUTOTOOLS_IN_SOURCE_BUILD=1
21 PATCHES=( "${FILESDIR}"/${P}-dash.patch )
25 sed -e 's:-Werror::g' -i configure.ac || die
26 autotools-utils_src_prepare
30 local myeconfargs=( --docdir="${EPREFIX}"/usr/share/doc/${PF} )
31 autotools-utils_src_configure
35 autotools-utils_src_test -j1