updated snapshot
authorBrad Teaford Cowan <bcowan@gentoo.org>
Wed, 30 Oct 2002 01:40:59 +0000 (01:40 +0000)
committerBrad Teaford Cowan <bcowan@gentoo.org>
Wed, 30 Oct 2002 01:40:59 +0000 (01:40 +0000)
gnome-extra/mc/ChangeLog
gnome-extra/mc/files/digest-mc-4.6.0_pre1-r2 [new file with mode: 0644]
gnome-extra/mc/mc-4.6.0_pre1-r2.ebuild [new file with mode: 0644]

index e6177d4af2e6411f2e8f867b6fa5a98bff680614..ad05e782202bb9ca48d17fe9f79767ff2c384299 100644 (file)
@@ -1,6 +1,13 @@
 # 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.11 2002/10/24 22:11:32 bcowan Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/mc/ChangeLog,v 1.12 2002/10/30 01:40:59 bcowan Exp $
+
+*mc-4.6.0_pre1-r2 (29 Oct 2002)
+
+  29 Oct 2002; Brad Cowan <bcowan@gentoo.org> mc-4.6.0_pre1-r2.ebuild,    
+  files/digest-mc-4.6.0_pre1-r2 :
+  
+  Updated snapshot.
 
 *mc-4.6.0_pre1-r1 (23 Oct 2002)
 
diff --git a/gnome-extra/mc/files/digest-mc-4.6.0_pre1-r2 b/gnome-extra/mc/files/digest-mc-4.6.0_pre1-r2
new file mode 100644 (file)
index 0000000..d7a4b0c
--- /dev/null
@@ -0,0 +1,2 @@
+MD5 76e9a94f99af475fed6eed4b4a1ea6e4 mc-4.6.0-pre1.tar.gz 3976955
+MD5 2db329365f9cd1f9d13aa77b7e1bf457 mc-4.6.0-pre1-2002-10-29-22.diff.bz2 777579
diff --git a/gnome-extra/mc/mc-4.6.0_pre1-r2.ebuild b/gnome-extra/mc/mc-4.6.0_pre1-r2.ebuild
new file mode 100644 (file)
index 0000000..c5f5c32
--- /dev/null
@@ -0,0 +1,86 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/mc/mc-4.6.0_pre1-r2.ebuild,v 1.1 2002/10/30 01:40:59 bcowan Exp $
+
+IUSE="gpm nls samba ncurses X slang"
+
+MY_P=${P/_/-}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="GNU Midnight Commander cli-based file manager"
+
+HOMEPAGE="http://www.ibiblio.org/mc/"
+SRC_URI="http://www.ibiblio.org/pub/Linux/utils/file/managers/${PN}/${MY_P}.tar.gz
+       mirror://gentoo/${MY_P}-2002-10-29-22.diff.bz2"
+
+
+DEPEND=">=sys-apps/e2fsprogs-1.19
+       ncurses? ( >=sys-libs/ncurses-5.2-r5 )
+       =dev-libs/glib-1.2*
+       >=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 )"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       patch -E -p1 < ${WORKDIR}/${MY_P}-2002-10-29-22.diff
+}      
+
+src_compile() {                           
+       local myconf=""
+       
+       if ! use slang && ! use ncurses
+           then  
+               myconf="${myconf} --with-included-slang"
+           elif
+               use ncurses && ! use slang
+           then 
+               myconf="${myconf} --with-ncurses --without-slang"
+           else
+               use slang && myconf="${myconf} --with-slang"
+       fi
+
+       use gpm \
+           && myconf="${myconf} --with-gpm-mouse=/usr" \
+           || myconf="${myconf} --without-gpm-mouse"
+
+       use nls || myconf="${myconf} --disable-nls"
+                                                       
+       use X \
+           && myconf="${myconf} --with-tm-x-support --with-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" \
+           || myconf="${myconf} --without-samba"
+
+       export LDFLAGS="-lcrypt -lncurses -lpam" 
+       econf --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() {                               
+       einstall
+       
+       dodoc ABOUT-NLS COPYING* FAQ INSTALL* NEWS README*
+}
+