/[gentoo-x86]/dev-util/patchelf/patchelf-0.8.ebuild
Gentoo

Contents of /dev-util/patchelf/patchelf-0.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Wed Jul 29 08:04:07 2015 UTC (2 years, 2 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +3 -1 lines
Backport patch for /bin/sh -> dash, bug #555360

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/patchelf/patchelf-0.8.ebuild,v 1.5 2015/06/24 10:55:41 ago Exp $
4
5 EAPI=5
6
7 AUTOTOOLS_AUTORECONF=true
8
9 inherit autotools-utils
10
11 DESCRIPTION="Small utility to modify the dynamic linker and RPATH of ELF executables"
12 HOMEPAGE="http://nixos.org/patchelf.html"
13 SRC_URI="http://releases.nixos.org/${PN}/${P}/${P}.tar.bz2"
14
15 SLOT="0"
16 KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
17 LICENSE="GPL-3"
18 IUSE=""
19
20 AUTOTOOLS_IN_SOURCE_BUILD=1
21
22 PATCHES=( "${FILESDIR}"/${P}-dash.patch )
23
24 src_prepare() {
25 rm src/elf.h || die
26 sed -e 's:-Werror::g' -i configure.ac || die
27 autotools-utils_src_prepare
28 }
29
30 src_configure() {
31 local myeconfargs=( --docdir="${EPREFIX}"/usr/share/doc/${PF} )
32 autotools-utils_src_configure
33 }
34
35 src_test() {
36 autotools-utils_src_test -j1
37 }

  ViewVC Help
Powered by ViewVC 1.1.20