/[gentoo-x86]/app-editors/zile/zile-2.3.21.ebuild
Gentoo

Contents of /app-editors/zile/zile-2.3.21.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Mar 23 21:32:30 2011 UTC (8 years, 2 months ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump. Remove intermediate version.

(Portage version: 2.1.9.44/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/app-editors/zile/zile-2.3.21.ebuild,v 1.1 2010/11/18 21:56:44 ulm Exp $
4
5 EAPI=3
6
7 DESCRIPTION="Zile is a small Emacs clone"
8 HOMEPAGE="http://www.gnu.org/software/zile/"
9 SRC_URI="mirror://gnu/zile/${P}.tar.gz"
10
11 LICENSE="GPL-3"
12 SLOT="0"
13 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
14 IUSE="livecd test valgrind"
15
16 RDEPEND="sys-libs/ncurses"
17 DEPEND="${RDEPEND}
18 dev-lang/perl
19 sys-apps/help2man
20 test? ( valgrind? ( dev-util/valgrind ) )"
21
22 src_configure() {
23 econf $(use test && use_with valgrind || echo "--without-valgrind")
24 }
25
26 src_install() {
27 emake DESTDIR="${D}" install || die
28
29 # FAQ is installed by the build system in /usr/share/zile
30 dodoc AUTHORS BUGS NEWS README THANKS || die
31
32 # Zile should never install charset.alias (even on non-glibc arches)
33 rm -f "${ED}"/usr/lib/charset.alias
34 }
35
36 pkg_postinst() {
37 if use livecd; then
38 [ -e "${EROOT}"/usr/bin/emacs ] || ln -s zile "${EROOT}"/usr/bin/emacs
39 fi
40 }

  ViewVC Help
Powered by ViewVC 1.1.20