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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Sep 11 13:36:34 2011 UTC (7 years, 9 months ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove intermediate version.

(Portage version: 2.1.10.15/cvs/Linux x86_64)

1 # Copyright 1999-2011 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.24.ebuild,v 1.1 2011/05/07 10:48:01 ulm Exp $
4
5 EAPI=4
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 test? ( valgrind? ( dev-util/valgrind ) )"
19
20 src_configure() {
21 econf $(use test && use_with valgrind || echo "--without-valgrind")
22 }
23
24 src_install() {
25 emake DESTDIR="${D}" install
26
27 # FAQ is installed by the build system in /usr/share/zile
28 dodoc AUTHORS BUGS NEWS README THANKS
29
30 # Zile should never install charset.alias (even on non-glibc arches)
31 rm -f "${ED}"/usr/lib/charset.alias
32 }
33
34 pkg_postinst() {
35 if use livecd; then
36 [ -e "${EROOT}"/usr/bin/emacs ] || ln -s zile "${EROOT}"/usr/bin/emacs
37 fi
38 }

  ViewVC Help
Powered by ViewVC 1.1.20