# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86 ~amd64" DESCRIPTION="multisync: GUI and cmd tool for opensync" SRC_URI="mirror://sourceforge/opensync/${P}.tar.gz" HOMEPAGE="http://www.opensync.org/" IUSE="evo plugin-file plugin-python gui" DEPEND=">dev-libs/glib-2.0" RDEPEND="app-pda/libopensync evo? ( >=app-pda/libopensync-plugin-evolution2-0.18 ) plugin-file? ( >=app-pda/libopensync-plugin-file-0.18 ) plugin-python? ( >=app-pda/libopensync-plugin-python-0.18 )" src_unpack() { if [ "${A}" != "" ]; then unpack ${A} fi cd ${S} sed -i -e 's/-Werror//' gui/evolution2_sync/Makefile.am sed -i -e 's/-Werror//' gui/file-sync/Makefile.am sed -i -e 's/-Werror//' gui/synce_sync/Makefile.am } src_compile() { if use gui; then cd ${S}/gui einfo "Configuring GUI" aclocal && autoconf && automake || die einfo "Running libtoolize --copy --force" libtoolize --copy --force econf || die "econf failed" emake || die "emake failed" fi cd ${S} einfo "Configuring Tools" econf || die "econf failed" emake || die "emake failed" } src_install() { if use gui; then cd ${S}/gui einfo "Installing GUI" make install DESTDIR=${D} fi cd ${S} einfo "Installing Tools" make install DESTDIR=${D} dodoc README AUTHORS }