summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-12-26 13:33:42 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-12-26 13:33:42 +0000
commit8570390af8225be9dd12ebe576f2365d44a7cf64 (patch)
treef9ee0845db0d93ab32b21542ad80df6babdac5ff /app-misc/emelfm2/emelfm2-0.7.4.ebuild
parentDISTUTILS_DISABLE_VERSIONING_OF_PYTHON_SCRIPTS -> PYTHON_NONVERSIONED_EXECUTA... (diff)
downloadgentoo-2-8570390af8225be9dd12ebe576f2365d44a7cf64.tar.gz
gentoo-2-8570390af8225be9dd12ebe576f2365d44a7cf64.tar.bz2
gentoo-2-8570390af8225be9dd12ebe576f2365d44a7cf64.zip
bump
(Portage version: 2.2.0_alpha10/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/emelfm2/emelfm2-0.7.4.ebuild')
-rw-r--r--app-misc/emelfm2/emelfm2-0.7.4.ebuild60
1 files changed, 60 insertions, 0 deletions
diff --git a/app-misc/emelfm2/emelfm2-0.7.4.ebuild b/app-misc/emelfm2/emelfm2-0.7.4.ebuild
new file mode 100644
index 000000000000..24c276767702
--- /dev/null
+++ b/app-misc/emelfm2/emelfm2-0.7.4.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/emelfm2/emelfm2-0.7.4.ebuild,v 1.1 2010/12/26 13:33:42 ssuominen Exp $
+
+EAPI=2
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="A file manager that implements the popular two-pane design"
+HOMEPAGE="http://emelfm2.net/"
+SRC_URI="http://emelfm2.net/rel/${P}.tar.bz2"
+
+LICENSE="GPL-3 LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="acl fam gimp kernel_linux nls policykit spell udev"
+
+RDEPEND=">=x11-libs/gtk+-2.12:2
+ acl? ( sys-apps/acl )
+ gimp? ( media-gfx/gimp )
+ policykit? ( sys-auth/polkit )
+ spell? ( app-text/gtkspell )
+ udev? ( sys-fs/udisks
+ dev-libs/dbus-glib )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+RESTRICT="test"
+
+pkg_setup() {
+ emel_use() {
+ use ${1} && echo "${2}=1" || echo "${2}=0"
+ }
+
+ myemelconf=(
+ DOCS_VERSION=1
+ $(emel_use nls I18N)
+ WITH_TRANSPARENCY=1
+ $(emel_use kernel_linux WITH_KERNELFAM)
+ $(emel_use spell EDITOR_SPELLCHECK)
+ $(emel_use udev WITH_DEVKIT)
+ $(emel_use gimp WITH_THUMBS)
+ $(emel_use acl WITH_ACL)
+ $(emel_use policykit WITH_POLKIT)
+ STRIP=0
+ )
+}
+
+src_compile() {
+ tc-export CC
+ emake LIB_DIR="/usr/$(get_libdir)" PREFIX="/usr" \
+ ${myemelconf[@]} || die
+}
+
+src_install() {
+ emake LIB_DIR="${D}/usr/$(get_libdir)" PREFIX="${D}/usr" \
+ ${myemelconf[@]} install || die
+ newicon icons/${PN}_48.png ${PN}.png
+ prepalldocs
+}