/[gentoo-x86]/dev-util/idutils/idutils-4.2.ebuild
Gentoo

Contents of /dev-util/idutils/idutils-4.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Dec 3 16:42:31 2010 UTC (3 years, 10 months ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +8 -9 lines
Fix configure test for Emacs, bug 336731.

(Portage version: 2.1.9.25/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/idutils/idutils-4.2.ebuild,v 1.2 2007/11/27 07:07:16 mr_bones_ Exp $
4
5 inherit eutils elisp-common
6
7 DESCRIPTION="Fast, high-capacity, identifier database tool"
8 HOMEPAGE="http://www.gnu.org/software/idutils/"
9 DEB_PN="id-utils" # old upstream name for it
10 DEB_P="${DEB_PN}_${PV}"
11 DEB_PR="1"
12 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
13 mirror://debian/pool/main/${PN:0:1}/${DEB_PN}/${DEB_P}-${DEB_PR}.diff.gz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~x86 ~amd64"
18 IUSE="emacs nls"
19
20 RDEPEND="emacs? ( virtual/emacs )
21 nls? ( virtual/libintl )"
22 DEPEND="${RDEPEND}
23 nls? ( sys-devel/gettext )"
24
25 src_unpack() {
26 unpack ${P}.tar.gz
27 cd "${S}"
28 epatch "${DISTDIR}"/${DEB_P}-${DEB_PR}.diff.gz
29 epatch "${S}"/debian/patches/*.dpatch
30 }
31
32 src_compile() {
33 use emacs || export EMACS=no
34 econf \
35 $(use_enable nls) \
36 "$(use_with emacs lispdir "${SITELISP}/${PN}")"
37 emake || die
38 }
39
40 src_install() {
41 emake DESTDIR="${D}" install || die "emake install failed"
42 dodoc NEWS README* ChangeLog AUTHORS THANKS TODO
43 }

  ViewVC Help
Powered by ViewVC 1.1.20