summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-10-10 22:28:37 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-10-10 22:28:37 +0000
commit83f78a2a63adb7ab5c48c71c1a79d47a54d6a080 (patch)
tree9bbe638c454289a739024492159600302bf0a363 /app-admin/chrpath
parentBackport the configure opt change to stable (diff)
downloadgentoo-2-83f78a2a63adb7ab5c48c71c1a79d47a54d6a080.tar.gz
gentoo-2-83f78a2a63adb7ab5c48c71c1a79d47a54d6a080.tar.bz2
gentoo-2-83f78a2a63adb7ab5c48c71c1a79d47a54d6a080.zip
Remove unnecessary static libraries because chrpath is dlopening the dynamic libraries instead. Fix documentation path.
(Portage version: 2.2.0_alpha64/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/chrpath')
-rw-r--r--app-admin/chrpath/ChangeLog6
-rw-r--r--app-admin/chrpath/chrpath-0.13-r2.ebuild29
2 files changed, 22 insertions, 13 deletions
diff --git a/app-admin/chrpath/ChangeLog b/app-admin/chrpath/ChangeLog
index 003a2320bbec..36afd3e92255 100644
--- a/app-admin/chrpath/ChangeLog
+++ b/app-admin/chrpath/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-admin/chrpath
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/chrpath/ChangeLog,v 1.15 2011/08/29 19:23:22 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/chrpath/ChangeLog,v 1.16 2011/10/10 22:28:37 ssuominen Exp $
+
+ 10 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> chrpath-0.13-r2.ebuild:
+ Remove unnecessary static libraries because chrpath is dlopening the dynamic
+ libraries instead. Fix documentation path.
*chrpath-0.13-r2 (29 Aug 2011)
diff --git a/app-admin/chrpath/chrpath-0.13-r2.ebuild b/app-admin/chrpath/chrpath-0.13-r2.ebuild
index dff81c7cf066..047f80b7730c 100644
--- a/app-admin/chrpath/chrpath-0.13-r2.ebuild
+++ b/app-admin/chrpath/chrpath-0.13-r2.ebuild
@@ -1,15 +1,13 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/chrpath/chrpath-0.13-r2.ebuild,v 1.1 2011/08/29 19:23:22 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/chrpath/chrpath-0.13-r2.ebuild,v 1.2 2011/10/10 22:28:37 ssuominen Exp $
-EAPI="2"
-
-inherit eutils autotools
+EAPI=4
+inherit autotools eutils
DESCRIPTION="chrpath can modify the rpath and runpath of ELF executables"
HOMEPAGE="http://directory.fsf.org/project/chrpath/"
-# original upstream no longer exists (ftp://ftp.hungry.com/pub/hungry)
-SRC_URI="http://ftp.tux.org/pub/X-Windows/ftp.hungry.com/chrpath/${P}.tar.gz"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -17,14 +15,21 @@ KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~
IUSE=""
src_prepare() {
- epatch "${FILESDIR}"/${P}-multilib.patch
- epatch "${FILESDIR}"/${PN}-keepgoing.patch
- epatch "${FILESDIR}"/${P}-testsuite-1.patch
- sed -i -e '/^docdir/d' Makefile.am # use standard docdir
+ epatch \
+ "${FILESDIR}"/${P}-multilib.patch \
+ "${FILESDIR}"/${PN}-keepgoing.patch \
+ "${FILESDIR}"/${P}-testsuite-1.patch
+
eautoreconf
}
src_install() {
- emake install DESTDIR="${D}" || die
- dodoc ChangeLog AUTHORS NEWS README
+ emake \
+ DESTDIR="${D}" \
+ docdir=/usr/share/doc/${PF} \
+ install
+
+ rm -f \
+ "${ED}"usr/lib*/lib*.{a,la} \
+ "${ED}"usr/share/doc/${PF}/{COPYING,INSTALL}
}