summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-misc/emelfm2/Manifest2
-rw-r--r--app-misc/emelfm2/emelfm2-0.3.4.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/app-misc/emelfm2/Manifest b/app-misc/emelfm2/Manifest
index 2ba80bb83..06a2cda8b 100644
--- a/app-misc/emelfm2/Manifest
+++ b/app-misc/emelfm2/Manifest
@@ -1,4 +1,6 @@
DIST emelfm2-0.3.2.tar.gz 938196 RMD160 c58b3f27efe29a4318884bcfa0f82d956771acdc SHA1 8d3eaa551163c5189ef981cf8de90da9ea232aa1 SHA256 8329f2dea5502c962e4997a13f785f6912ed1060eee012763bf72074b0c1f46e
+DIST emelfm2-0.3.4.tar.gz 992183 RMD160 ed0d3e1497f62d693eeee7d2fb76f348333be4d9 SHA1 ada0373c50916c7d7c7d08d40739b15759121572 SHA256 a0a6e60d54c5ca52b1a6467b79d25b1001d662f5ffb51c8446541826e068f8c8
EBUILD emelfm2-0.3.2.ebuild 1084 RMD160 3e10f5410203db3576c8094de554f8ccd10b84b8 SHA1 51cb74e618868c2b5bd639d8aeb81109ad34827a SHA256 8fe5baea5be61e6d2d6c95072aa16a1a60981f3fd69e8e78644c9b260df9b1fd
+EBUILD emelfm2-0.3.4.ebuild 1084 RMD160 3e10f5410203db3576c8094de554f8ccd10b84b8 SHA1 51cb74e618868c2b5bd639d8aeb81109ad34827a SHA256 8fe5baea5be61e6d2d6c95072aa16a1a60981f3fd69e8e78644c9b260df9b1fd
MISC ChangeLog 1092 RMD160 f7f9aca8e87642b306704995665654e2e7d8ad3a SHA1 2054b2b824852f55c2b9fa8a145f4588cfc3a80a SHA256 8477e55c496c6a06b6494ae124fc66d646fbe4091b7cb1210d5339974b3ac707
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/app-misc/emelfm2/emelfm2-0.3.4.ebuild b/app-misc/emelfm2/emelfm2-0.3.4.ebuild
new file mode 100644
index 000000000..290ddf384
--- /dev/null
+++ b/app-misc/emelfm2/emelfm2-0.3.4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A file manager that implements the popular two-pane design based on gtk+-2"
+HOMEPAGE="http://emelfm2.net/"
+SRC_URI="http://emelfm2.net/rel/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="unicode fam"
+
+DEPEND=">=x11-libs/gtk+-2.6
+ fam? ( virtual/fam )"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ local myconf
+
+ if use unicode; then
+ myconf="FILES_UTF8ONLY=1"
+ fi
+
+ if use fam; then
+ if has_version "app-admin/gamin"; then
+ myconf="${myconf} USE_GAMIN=1"
+ else
+ myconf="${myconf} USE_FAM=1"
+ fi
+ else
+ myconf="${myconf} USE_FAM=0"
+ fi
+
+ # CC= looks bad with CFLAGS, instead the Makefile should be patched
+ emake \
+ ICONDIR="/usr/share/pixmaps" \
+ PREFIX="/usr" \
+ CC="$(tc-getCC) ${CFLAGS}" \
+ ${myconf} || die "emake failed"
+}
+
+src_install() {
+ dodir /usr/bin
+
+ emake \
+ ICONDIR="${D}/usr/share/pixmaps" \
+ PREFIX="${D}/usr" \
+ install || die "emake install failed"
+
+ prepalldocs
+}