# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # Created by Martin Kupec EAPI=4 inherit eutils python autotools DESCRIPTION="Cloud file syncing software" HOMEPAGE="http://www.seafile.com" SRC_URI="http://seafile.googlecode.com/files/seafile-${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="gtk server client python" DEPEND=">=dev-lang/python-2.5[sqlite] =net-libs/ccnet-${PV} dev-python/simplejson dev-python/mako dev-python/webpy dev-python/Djblets dev-python/chardet www-servers/gunicorn >=net-libs/libevhtp-1.1.6 sys-devel/gettext dev-util/pkgconfig" RDEPEND="" pkg_setup() { python_set_active_version 2 python_pkg_setup } src_configure() { econf $(use_enable gtk gui) \ $(use_enable server) \ $(use_enable client) \ $(use_enable python) \ --enable-console \ || die "econf failed" } src_compile() { emake -j1 || die "emake failed" }