diff options
author | Brad Teaford Cowan <bcowan@gentoo.org> | 2002-10-23 09:34:11 +0000 |
---|---|---|
committer | Brad Teaford Cowan <bcowan@gentoo.org> | 2002-10-23 09:34:11 +0000 |
commit | ec382156fe9995b305c943434c0a3a6e3f1a9232 (patch) | |
tree | f74ca29a78903d3106a3f1a80a7f725ecb6363d1 | |
parent | add new ebuild, media-video/usb-pwcx, see bug 7086 (diff) | |
download | gentoo-2-ec382156fe9995b305c943434c0a3a6e3f1a9232.tar.gz gentoo-2-ec382156fe9995b305c943434c0a3a6e3f1a9232.tar.bz2 gentoo-2-ec382156fe9995b305c943434c0a3a6e3f1a9232.zip |
fixes bug #9424
-rw-r--r-- | gnome-extra/mc/ChangeLog | 9 | ||||
-rw-r--r-- | gnome-extra/mc/files/digest-mc-4.6.0_pre2 | 2 | ||||
-rw-r--r-- | gnome-extra/mc/mc-4.6.0_pre2.ebuild | 91 |
3 files changed, 101 insertions, 1 deletions
diff --git a/gnome-extra/mc/ChangeLog b/gnome-extra/mc/ChangeLog index c3281d7f2815..dc9e99517924 100644 --- a/gnome-extra/mc/ChangeLog +++ b/gnome-extra/mc/ChangeLog @@ -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.9 2002/08/28 08:22:12 naz Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/mc/ChangeLog,v 1.10 2002/10/23 09:34:11 bcowan Exp $ + +*mc-4.6.0_pre2 (23 Oct 2002) + + 23 Oct 2002; Brad Cowan <bcowan@gentoo.org> mc-4.6.0_pre2.ebuild, + files/digest-mc-4.6.0_pre1 : + + Added snapshot patch to fix pam compile bug, closes bug #9424. *mc-4.6.0_pre1 (22 Aug 2002) diff --git a/gnome-extra/mc/files/digest-mc-4.6.0_pre2 b/gnome-extra/mc/files/digest-mc-4.6.0_pre2 new file mode 100644 index 000000000000..9cbfbb60917d --- /dev/null +++ b/gnome-extra/mc/files/digest-mc-4.6.0_pre2 @@ -0,0 +1,2 @@ +MD5 76e9a94f99af475fed6eed4b4a1ea6e4 mc-4.6.0-pre1.tar.gz 3976955 +MD5 b394320bffc8da188887c2b85c57daad mc-4.6.0-pre1-2002-10-22-04.diff.gz 942139 diff --git a/gnome-extra/mc/mc-4.6.0_pre2.ebuild b/gnome-extra/mc/mc-4.6.0_pre2.ebuild new file mode 100644 index 000000000000..0c417b001821 --- /dev/null +++ b/gnome-extra/mc/mc-4.6.0_pre2.ebuild @@ -0,0 +1,91 @@ +# 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_pre2.ebuild,v 1.1 2002/10/23 09:34:11 bcowan Exp $ + +IUSE="gpm nls samba ncurses X slang" + +MY_T="${PN}-4.6.0-pre1" +S=${WORKDIR}/${MY_T} +DESCRIPTION="GNU Midnight Commander" + +HOMEPAGE="http://www.ibiblio.org/mc/" +SRC_URI="http://www.ibiblio.org/pub/Linux/utils/file/managers/${PN}/${MY_T}.tar.gz + mirror://gentoo/${MY_T}-2002-10-22-04.diff.gz" + + +DEPEND="virtual/glibc + >=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 -p1 < ${WORKDIR}/${MY_T}-2002-10-22-04.diff +} + +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 -lpam" ./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* +} + |