diff options
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/dialog/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/dialog/dialog-1.1.20070514.ebuild | 45 | ||||
-rw-r--r-- | dev-util/dialog/files/digest-dialog-1.1.20070514 | 3 |
3 files changed, 55 insertions, 1 deletions
diff --git a/dev-util/dialog/ChangeLog b/dev-util/dialog/ChangeLog index 639cedc5078c..d30347dd6d9b 100644 --- a/dev-util/dialog/ChangeLog +++ b/dev-util/dialog/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/dialog # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/dialog/ChangeLog,v 1.78 2007/05/15 09:10:31 bangert Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/dialog/ChangeLog,v 1.79 2007/05/19 14:40:35 truedfx Exp $ + +*dialog-1.1.20070514 (19 May 2007) + + 19 May 2007; Harald van Dijk <truedfx@gentoo.org> + +dialog-1.1.20070514.ebuild: + Version bump (#179094) 14 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml: add <herd>no-herd</herd> diff --git a/dev-util/dialog/dialog-1.1.20070514.ebuild b/dev-util/dialog/dialog-1.1.20070514.ebuild new file mode 100644 index 000000000000..fc8a0e2d407c --- /dev/null +++ b/dev-util/dialog/dialog-1.1.20070514.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/dialog/dialog-1.1.20070514.ebuild,v 1.1 2007/05/19 14:40:35 truedfx Exp $ + +inherit eutils + +MY_PV="${PV/1.1./1.1-}" +S=${WORKDIR}/${PN}-${MY_PV} +DESCRIPTION="tool to display dialog boxes from a shell" +HOMEPAGE="http://invisible-island.net/dialog/dialog.html" +SRC_URI="ftp://invisible-island.net/${PN}/${PN}-${MY_PV}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="examples unicode" + +DEPEND=">=app-shells/bash-2.04-r3 + >=sys-libs/ncurses-5.2-r5" + +pkg_setup() { + if use unicode && ! built_with_use sys-libs/ncurses unicode; then + eerror "Installing dialog with the unicode flag requires ncurses be" + eerror "built with it as well. Please make sure your /etc/make.conf" + eerror "or /etc/portage/package.use enables it, and re-install" + eerror "ncurses with \`emerge --oneshot sys-libs/ncurses\`." + die "Re-emerge ncurses with the unicode flag" + fi +} + +src_compile() { + use unicode && ncursesw="w" + econf "--with-ncurses${ncursesw}" || die "configure failed" + emake || die "build failed" +} + +src_install() { + emake install DESTDIR="${D}" || die + dodoc CHANGES README VERSION + + if use examples; then + docinto samples + dodoc samples/* + fi +} diff --git a/dev-util/dialog/files/digest-dialog-1.1.20070514 b/dev-util/dialog/files/digest-dialog-1.1.20070514 new file mode 100644 index 000000000000..9e842a99b9ab --- /dev/null +++ b/dev-util/dialog/files/digest-dialog-1.1.20070514 @@ -0,0 +1,3 @@ +MD5 1a5dd79088ac3ba3047b48e7efaea8d1 dialog-1.1-20070514.tgz 365832 +RMD160 705c8e03f4b460136244a8581a543dc3d004c666 dialog-1.1-20070514.tgz 365832 +SHA256 7bf3d92a4f1ffee96355d572819f0195e50681db4057655bc5b76e2597aab051 dialog-1.1-20070514.tgz 365832 |