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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jul 21 07:13:52 2010 UTC (8 years, 11 months ago) by fauli
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
clean up
(Portage version: 2.1.8.3/cvs/Linux i686)

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

  ViewVC Help
Powered by ViewVC 1.1.20