summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2009-08-23 03:30:32 +0000
committerJeremy Olexa <darkside@gentoo.org>2009-08-23 03:30:32 +0000
commita7baf491cd6df5e0cdc8080c946550ee8685ba1a (patch)
tree49dc4899f06f3a9942ba0dc05fe8de3aff23a5d5 /x11-misc/gigolo/gigolo-0.3.2.ebuild
parentpkgmove thunar-shares to thunar-shares-plugin (diff)
downloadgentoo-2-a7baf491cd6df5e0cdc8080c946550ee8685ba1a.tar.gz
gentoo-2-a7baf491cd6df5e0cdc8080c946550ee8685ba1a.tar.bz2
gentoo-2-a7baf491cd6df5e0cdc8080c946550ee8685ba1a.zip
convert to EAPI-2, convert to xfconf.eclass
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/gigolo/gigolo-0.3.2.ebuild')
-rw-r--r--x11-misc/gigolo/gigolo-0.3.2.ebuild29
1 files changed, 18 insertions, 11 deletions
diff --git a/x11-misc/gigolo/gigolo-0.3.2.ebuild b/x11-misc/gigolo/gigolo-0.3.2.ebuild
index fdfb465adb34..c037dc5655ea 100644
--- a/x11-misc/gigolo/gigolo-0.3.2.ebuild
+++ b/x11-misc/gigolo/gigolo-0.3.2.ebuild
@@ -1,15 +1,17 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/gigolo/gigolo-0.3.2.ebuild,v 1.1 2009/06/07 18:31:05 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/gigolo/gigolo-0.3.2.ebuild,v 1.2 2009/08/23 03:30:32 darkside Exp $
-EAPI=1
-
-inherit xfce4
-
-xfce4_goodies
+EAPI="2"
+inherit xfconf multilib
DESCRIPTION="a frontend to easily manage connections to remote filesystems using
GIO/GVfs"
+HOMEPAGE="http://www.uvena.de/gigolo/index.html http://goodies.xfce.org/projects/applications/gigolo"
+SRC_URI="http://files.uvena.de/gigolo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
@@ -17,20 +19,25 @@ DEPEND=">=x11-libs/gtk+-2.12:2
>=dev-libs/glib-2.16:2"
RDEPEND="${DEPEND}"
-DOCS="AUTHORS ChangeLog NEWS README TODO"
+pkg_setup() {
+ DOCS="AUTHORS ChangeLog NEWS README TODO"
+}
-src_compile() {
+src_configure() {
./waf --prefix="/usr" --libdir="/usr/$(get_libdir)" configure \
- || die "./waf configure failed"
+ || die "./waf configure failed"
+}
+src_compile() {
# Build takes -jX, but not -lX so cannot use $MAKEOPTS
- ./waf build || die "./waf build failed"
+ NUMJOBS=$(sed -e 's/.*\(\-j[ 0-9]\+\) .*/\1/; s/--jobs=\?/-j/' <<< ${MAKEOPTS})
+ ./waf build ${NUMJOBS} || die "./waf build failed"
}
src_install() {
./waf --destdir="${D}" install || die "./waf install failed"
# process docs
- dodoc ${DOCS}
+ dodoc ${DOCS} || die "dodoc failed"
rm -rf "${D}"/usr/share/doc/${PN}
}