diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-29 12:00:22 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-29 12:00:22 +0000 |
commit | cee9ab9b233d1d92c4a78b7c5b6b6fc97d936959 (patch) | |
tree | 85cda5c8611431cb65ed47704aa8f8faa260e701 /app-misc/mc | |
parent | Fix parallel install, thanks to Kevin Pyle for providing the fix in bug #277406 (diff) | |
download | gentoo-2-cee9ab9b233d1d92c4a78b7c5b6b6fc97d936959.tar.gz gentoo-2-cee9ab9b233d1d92c4a78b7c5b6b6fc97d936959.tar.bz2 gentoo-2-cee9ab9b233d1d92c4a78b7c5b6b6fc97d936959.zip |
Version bump.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/mc')
-rw-r--r-- | app-misc/mc/ChangeLog | 7 | ||||
-rw-r--r-- | app-misc/mc/mc-4.7.0_pre2.ebuild | 62 |
2 files changed, 68 insertions, 1 deletions
diff --git a/app-misc/mc/ChangeLog b/app-misc/mc/ChangeLog index 504edb99a925..16d239ac9c8a 100644 --- a/app-misc/mc/ChangeLog +++ b/app-misc/mc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-misc/mc # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.160 2009/08/26 13:58:52 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.161 2009/08/29 12:00:22 ssuominen Exp $ + +*mc-4.7.0_pre2 (29 Aug 2009) + + 29 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> +mc-4.7.0_pre2.ebuild: + Version bump. 26 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> mc-4.7.0_pre1.ebuild: Missing use_enable for USE nls wrt #282791, thanks to Arseny Solokha for diff --git a/app-misc/mc/mc-4.7.0_pre2.ebuild b/app-misc/mc/mc-4.7.0_pre2.ebuild new file mode 100644 index 000000000000..7eff7764fbba --- /dev/null +++ b/app-misc/mc/mc-4.7.0_pre2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.7.0_pre2.ebuild,v 1.1 2009/08/29 12:00:22 ssuominen Exp $ + +EAPI=2 +MY_P=${P/_/-} + +DESCRIPTION="GNU Midnight Commander is a text based file manager" +HOMEPAGE="http://www.midnight-commander.org" +SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="chdir gpm nls samba +slang X" + +RDEPEND=">=dev-libs/glib-2.6:2 + gpm? ( sys-libs/gpm ) + kernel_linux? ( sys-fs/e2fsprogs ) + samba? ( net-fs/samba ) + slang? ( >=sys-libs/slang-2 ) + !slang? ( sys-libs/ncurses ) + X? ( x11-libs/libX11 + x11-libs/libICE + x11-libs/libXau + x11-libs/libXdmcp + x11-libs/libSM )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + nls? ( sys-devel/gettext )" + +S=${WORKDIR}/${MY_P} + +src_configure() { + local myscreen=ncurses + + use slang && myscreen=slang + + econf \ + --disable-dependency-tracking \ + $(use_enable nls) \ + --enable-vfs \ + $(use_enable kernel_linux vfs-undelfs) \ + --enable-charset \ + $(use_with X x) \ + $(use_with samba) \ + --with-configdir=/etc/samba \ + --with-codepagedir=/var/lib/samba/codepages \ + $(use_with gpm gpm-mouse) \ + --with-screen=${myscreen} \ + --with-edit +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS NEWS README + + if use chdir; then + insinto /etc/profile.d + doins "${FILESDIR}"/mc-chdir.sh + fi +} |