/[gentoo-x86]/sys-apps/help2man/help2man-1.38.2.ebuild
Gentoo

Contents of /sys-apps/help2man/help2man-1.38.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (hide annotations) (download)
Sun Apr 8 21:45:46 2012 UTC (2 years, 6 months ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)

1 phajdan.jr 1.2 # Copyright 1999-2011 Gentoo Foundation
2 vapier 1.1 # Distributed under the terms of the GNU General Public License v2
3 radhermit 1.10 # $Header: /var/cvsroot/gentoo-x86/sys-apps/help2man/help2man-1.38.2.ebuild,v 1.9 2011/09/22 15:05:48 flameeyes Exp $
4 vapier 1.1
5     EAPI="2"
6    
7     inherit eutils
8    
9     DESCRIPTION="GNU utility to convert program --help output to a man page"
10     HOMEPAGE="http://www.gnu.org/software/help2man"
11     SRC_URI="mirror://gnu/help2man/${P}.tar.gz"
12    
13     LICENSE="GPL-2"
14     SLOT="0"
15 ranger 1.8 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
16 vapier 1.1 IUSE="nls elibc_glibc"
17    
18 flameeyes 1.9 RDEPEND="dev-lang/perl
19     elibc_glibc? ( nls? (
20     dev-perl/Locale-gettext
21     ) )"
22 vapier 1.1 DEPEND="${RDEPEND}
23     elibc_glibc? ( nls? (
24     dev-perl/Locale-gettext
25     ) )"
26    
27     src_prepare() {
28     epatch "${FILESDIR}"/${PN}-1.36.4-respect-LDFLAGS.patch
29     epatch "${FILESDIR}"/${PN}-1.38.2-build.patch
30     }
31    
32     src_configure() {
33     local myconf
34     use elibc_glibc \
35     && myconf="${myconf} $(use_enable nls)" \
36     || myconf="${myconf} --disable-nls"
37     econf ${myconf}
38     }
39    
40     src_install() {
41     emake DESTDIR="${D}" install || die
42     dodoc ChangeLog NEWS README THANKS
43     }

  ViewVC Help
Powered by ViewVC 1.1.20