# 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.4.0.ebuild,v 1.1 2009/12/31 16:12:31 darkside Exp $ 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="mirror://xfce/src/apps/${PN}/0.4/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND=">=x11-libs/gtk+-2.12:2 >=dev-libs/glib-2.16:2" RDEPEND="${DEPEND}" pkg_setup() { DOCS="AUTHORS ChangeLog NEWS README TODO" } src_configure() { ./waf --prefix="/usr" --libdir="/usr/$(get_libdir)" configure \ || die "./waf configure failed" } src_compile() { # Build takes -jX, but not -lX so cannot use $MAKEOPTS 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} || die "dodoc failed" rm -rf "${D}"/usr/share/doc/${PN} }