-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Here is the ebuild.
Patrick -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBTYJWDdcPKzlCXVMRAjTvAJ9qbyrMmMqm5bylrxH62YF1SwI/bQCfX6H/ VlhTPKl+Oap5bvTUTTG0KLI= =PiLE -----END PGP SIGNATURE-----
# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-pda/multisync/multisync-0.82.ebuild,v 1.4 2004/07/24 20:40:09 liquidx Exp $
inherit eutils DESCRIPTION="Client to sync apps with WinCE or mobile devices" HOMEPAGE="http://multisync.sourceforge.net/" #SRC_URI="mirror://sourceforge/multisync/${P}.tar.bz2" #pat SRC_URI="http://multisync.sourceforge.net/multisync-CVS-snapshot.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64 ~ppc" IUSE="evo irmc opie ldap bluetooth gnokii" # evo - evolution plugin # irmc - bluetooth/irmc/irda plugin ( local ) # opie - opie plugin ( local ) # ldap - ldap plugin - experimental # was taken out: # >=gnome-base/orbit-2.8.2 DEPEND=">=gnome-base/libbonobo-2.2 >=gnome-base/libgnomeui-2.2 >=gnome-base/libgnome-2.2 >=gnome-base/orbit-2.8.2 >=dev-libs/glib-2 >=gnome-base/gconf-2 >=gnome-base/gnome-vfs-2.2 >=dev-libs/openssl-0.9.6j evo? ( =mail-client/evolution-1.4* ) irmc? ( >=sys-apps/irda-utils-0.9.15 >=dev-libs/openobex-1 bluetooth? ( >=net-wireless/bluez-libs-2.7 >=net-wireless/bluez-utils-2.7 ) ) opie? ( >=net-misc/curl-7.10.5 ) ldap? ( >=net-nds/openldap-2.0.27 >=dev-libs/cyrus-sasl-2.1.4 ) gnokii? (>=net-dialup/gnokii-0.6.3) " make_plugin_list() { export PLUGINS="backup_plugin syncml_plugin" use irmc && PLUGINS="${PLUGINS} irmc_sync" use evo && PLUGINS="${PLUGINS} evolution_sync" use opie && PLUGINS="${PLUGINS} opie_sync" use ldap && PLUGINS="${PLUGINS} ldap_plugin" #added pat - 18.09.04 use gnokii && PLUGINS="${PLUGINS} gnokii_sync" } src_unpack() { einfo "beginning unpack" unpack ${A} # pat: correct folder name of the sources (mutlisync to multisync-cvs-0.1) # $S point to the source dir (/var/tmp/portage/mutlisync-cvs-0.1/work/multisync-cvs-0.1) mv ${S/%-cvs-0.1} $S # pat - 19.08.04: commented out # Fix the opie Makefile #cd ${S} #epatch ${FILESDIR}/${PN}-0.81-gentoo.patch #epatch ${FILESDIR}/${PN}-0.82-bluetooth-sdp.patch } src_compile() { make_plugin_list # list the name of the plugins that will be compiled einfo "Building Multisync with these plugins:" for plugin_dir in ${PLUGINS} do einfo " ${plugin_dir}" done # $S point to the source dir (/var/tmp/portage/mutlisync-cvs-0.1/work/multisync-cvs-0.1) cd ${S} # that doesn't work for the cvs version with just 1 ./autogen.sh ./autogen.sh || die "autogen.sh failed" ./autogen.sh || die "autogen.sh failed" einfo "autogen.sh done." #econf || die make || die "make failed" cd ${S}/plugins for plugin_dir in ${PLUGINS} do einfo "Configuring and compiling ${plugin_dir}" cd ${S}/plugins/${plugin_dir} # econf makes a ./configure econf || die "${plugin_dir} config failed!" make || die "${plugin_dir} make failed!" done } src_install() { einfo "Beginning install" make_plugin_list einstall || die "Multisync install failed!" for plugin_dir in ${PLUGINS} do einfo "Installing plugin ${plugin_dir}" cd ${S}/plugins/${plugin_dir} einstall || die "${plugin_dir} make failed!" done }