/[gentoo-alt]/trunk/prefix-overlay/dev-util/dialog/dialog-1.0.20051107.ebuild
Gentoo

Contents of /trunk/prefix-overlay/dev-util/dialog/dialog-1.0.20051107.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 893 - (show annotations) (download)
Sun Nov 27 12:52:02 2005 UTC (8 years, 9 months ago) by grobian
File size: 1206 byte(s)
Added dialog (made small changes to get it working in the prefix) and
the required eclasses.


1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/dialog/dialog-1.0.20051107.ebuild,v 1.2 2005/11/21 13:34:22 truedfx Exp $
4
5 EAPI="prefix"
6
7 # porting note:
8 # manpages were installed in the wrong location (double prefix)
9 # solution: replaced make install with einstall
10
11 inherit eutils
12
13 MY_PV="${PV/1.0./1.0-}"
14 S=${WORKDIR}/${PN}-${MY_PV}
15 DESCRIPTION="tool to display dialog boxes from a shell"
16 HOMEPAGE="http://invisible-island.net/dialog/dialog.html"
17 SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${MY_PV}.orig.tar.gz"
18
19 LICENSE="GPL-2"
20 SLOT="0"
21 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86"
22 IUSE="examples unicode"
23
24 DEPEND=">=app-shells/bash-2.04-r3
25 >=sys-libs/ncurses-5.2-r5"
26
27 src_unpack() {
28 unpack ${A}
29 cd "${S}"
30 epatch "${FILESDIR}"/${P}-mouseselect.patch
31 }
32
33 src_compile() {
34 #export LANG=C
35 use unicode && ncursesw="w"
36 econf "--with-ncurses${ncursesw}" || die "configure failed"
37 emake || die "build failed"
38 }
39
40 src_install() {
41 einstall || die
42 dodoc CHANGES README VERSION
43
44 if use examples; then
45 docinto samples
46 dodoc samples/*
47 fi
48 }

  ViewVC Help
Powered by ViewVC 1.1.20