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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Feb 21 08:57:58 2012 UTC (2 years, 9 months ago) by robbat2
Branch: MAIN
CVS Tags: HEAD
Version bump.

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

1 # Copyright 1999-2012 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.3 2010/12/03 16:42:31 ulm 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="~amd64 ~x86"
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 if [ -n "${DEB_PR}" ]; then
28 cd "${S}"
29 epatch "${DISTDIR}"/${DEB_P}-${DEB_PR}.diff.gz
30 epatch "${S}"/debian/patches/*.dpatch
31 fi
32 }
33
34 src_compile() {
35 use emacs || export EMACS=no
36 econf \
37 $(use_enable nls) \
38 "$(use_with emacs lispdir "${SITELISP}/${PN}")"
39 emake || die
40 }
41
42 src_install() {
43 emake DESTDIR="${D}" install || die "emake install failed"
44 dodoc NEWS README* ChangeLog AUTHORS THANKS TODO
45 }

  ViewVC Help
Powered by ViewVC 1.1.20