/[gentoo-x86]/sys-apps/grep/grep-2.14.ebuild
Gentoo

Contents of /sys-apps/grep/grep-2.14.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Mon Aug 20 17:41:08 2012 UTC (19 months, 3 weeks ago) by vapier
Branch: MAIN
Version bump.

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

1 vapier 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/grep-2.13.ebuild,v 1.1 2012/07/05 01:50:18 vapier Exp $
4    
5     EAPI="3"
6    
7     DESCRIPTION="GNU regular expression matcher"
8     HOMEPAGE="http://www.gnu.org/software/grep/"
9     SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
10     mirror://gentoo/${P}.tar.xz"
11    
12     LICENSE="GPL-3"
13     SLOT="0"
14     KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
15     IUSE="nls pcre"
16    
17     RDEPEND="nls? ( virtual/libintl )
18     pcre? ( >=dev-libs/libpcre-7.8-r1 )
19     virtual/libiconv"
20     DEPEND="${RDEPEND}
21     nls? ( sys-devel/gettext )"
22    
23     src_configure() {
24     econf \
25     --bindir="${EPREFIX}"/bin \
26     $(use_enable nls) \
27     $(use_enable pcre perl-regexp)
28     }
29    
30     src_install() {
31     emake DESTDIR="${D}" install || die
32     dodoc AUTHORS ChangeLog NEWS README THANKS TODO
33     }

  ViewVC Help
Powered by ViewVC 1.1.20