summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Nazaroff <naz@gentoo.org>2002-08-28 08:22:12 +0000
committerMichael Nazaroff <naz@gentoo.org>2002-08-28 08:22:12 +0000
commitb3111a3a564212931bb7503af8758436c1d75934 (patch)
tree8bb3638b98edc831f10cb24745162a72569e958c /gnome-extra
parentportage bug workaround (diff)
downloadhistorical-b3111a3a564212931bb7503af8758436c1d75934.tar.gz
historical-b3111a3a564212931bb7503af8758436c1d75934.tar.bz2
historical-b3111a3a564212931bb7503af8758436c1d75934.zip
This takes care of bug #6987 and ncurses issue.
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/mc/ChangeLog14
-rw-r--r--gnome-extra/mc/files/digest-mc-4.6.0_pre11
-rw-r--r--gnome-extra/mc/mc-4.6.0_pre1.ebuild83
3 files changed, 90 insertions, 8 deletions
diff --git a/gnome-extra/mc/ChangeLog b/gnome-extra/mc/ChangeLog
index 582e6fd4be17..c3281d7f2815 100644
--- a/gnome-extra/mc/ChangeLog
+++ b/gnome-extra/mc/ChangeLog
@@ -1,14 +1,12 @@
# ChangeLog for gnome-extra/mc
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/mc/ChangeLog,v 1.8 2002/08/23 17:50:37 naz Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/mc/ChangeLog,v 1.9 2002/08/28 08:22:12 naz Exp $
-*mc-4.5.55-r6 (27 Aug 2002)
-
- 27 Aug 2002; Michael Nazaroff <naz@gentoo.org> mc-4.5.55-r6.ebuild :
-
- More samba fixes and added a ncurses use flag to ebuild. Thanx to Tom Prado
- <tprado@charter.net> for the patch he sent, very nice work. Also removing r5
- and r4 version of the ebuild.
+*mc-4.6.0_pre1 (22 Aug 2002)
+
+ 22 Aug 2002; Brad Cowan <bradlyatc@cowancomputers.com> mc-4.6.0_pre1.ebuild :
+ ChangeLog, files/digest-mc-4.6.0_pre1 :
+ Version bump with many bugfixes and improvements.
*mc-4.5.55-r5 (20 Jun 2002)
diff --git a/gnome-extra/mc/files/digest-mc-4.6.0_pre1 b/gnome-extra/mc/files/digest-mc-4.6.0_pre1
new file mode 100644
index 000000000000..a7ce37e048df
--- /dev/null
+++ b/gnome-extra/mc/files/digest-mc-4.6.0_pre1
@@ -0,0 +1 @@
+MD5 76e9a94f99af475fed6eed4b4a1ea6e4 mc-4.6.0-pre1.tar.gz 3976955
diff --git a/gnome-extra/mc/mc-4.6.0_pre1.ebuild b/gnome-extra/mc/mc-4.6.0_pre1.ebuild
new file mode 100644
index 000000000000..68ceafc7ba43
--- /dev/null
+++ b/gnome-extra/mc/mc-4.6.0_pre1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/mc/mc-4.6.0_pre1.ebuild,v 1.1 2002/08/28 08:22:12 naz Exp $
+
+MY_T="${PN}-4.6.0-pre1"
+S=${WORKDIR}/${MY_T}
+DESCRIPTION="GNU Midnight Commander"
+
+HOMEPAGE="http://www.ibiblio.org/mc/"
+SRC_URI="ftp://ftp.ibiblio.org/pub/Linux/utils/file/managers/${PN}/${MY_T}.tar.gz"
+
+
+DEPEND="virtual/glibc
+ >=sys-apps/e2fsprogs-1.19
+ ncurses? ( >=sys-libs/ncurses-5.2-r5 )
+ =dev-libs/glib-1.2*
+ pam? ( >=sys-libs/pam-0.72 )
+ gpm? ( >=sys-libs/gpm-1.19.3 )
+ slang? ( >=sys-libs/slang-1.4.2 )
+ nls? ( sys-devel/gettext )
+ samba? ( >=net-fs/samba-2.2.3a-r1 )
+ X? ( virtual/x11 )"
+RDEPEND="$DEPEND"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+
+src_compile() {
+ local myconf=""
+
+ if ! use slang && ! use ncurses
+ then
+ myconf="${myconf} --with-included-slang"
+ fi
+ if use ncurses && ! use slang
+ then
+ myconf="${myconf} --with-ncurses
+ --without-slang"
+ fi
+ use slang && myconf="${myconf} --with-slang"
+
+ use gpm && myconf="${myconf} --with-gpm-mouse=/usr"
+ use gpm || myconf="${myconf} --without-gpm-mouse"
+
+ use nls || myconf="${myconf} --disable-nls"
+
+ use X && myconf="${myconf} --with-tm-x-support
+ --with-x"
+ use X || myconf="${myconf} --without-tm-x-support
+ --without-x"
+
+ use samba && myconf="${myconf} --with-samba
+ --with-configdir=/etc/samba
+ --with-codepagedir=/var/lib/samba/codepages"
+ use samba || myconf="${myconf} --without-samba"
+
+ cd ${S}
+
+ LDFLAGS="-lcrypt -lncurses" ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --sysconfdir=/etc \
+ --localstatedir=/var/lib \
+ --with-vfs \
+ --with-netrc \
+ --with-ext2undel \
+ --with-edit \
+ $myconf || die
+
+ emake || die
+}
+
+src_install() {
+ make prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ sysconfdir=${D}/etc \
+ localstatedir=${D}/var/lib \
+ install || die
+
+ dodoc ABOUT-NLS COPYING* FAQ INSTALL* NEWS README*
+}
+