# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit mono eutils autotools DESCRIPTION="Adds peer-to-peer functionality to the iFolder client using Apple's Bonjour" HOMEPAGE="www.ifolder.com" SRC_URI="http://forgeftp.novell.com/ifolder/client/3.4/20060320-0101/src/${P}.tar.gz" LICENSE="" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="dev-dotnet/ifolder dev-dotnet/simias net-dns/avahi" RDEPEND="" pkg_setup() { if ! built_with_use net-dns/avahi mdnsresponder-compat then eerror "Please rebuild avahi with mdnsresponder-compat" eerror "echo \"net-dns/avahi mdnsresponder-compat\" >> /etc/portage/package.use" eerror "emerge -av1 net-dns/avahi" die "avahi not build with mDNSResponder compatibility" else einfo "net-dns/avahi built with mDNSResponder compatibility..." einfo "I will continue..." fi } src_unpack() { unpack ${A} cd ${S} } src_compile() { local myconf myconf="--prefix=/usr" ./configure ${myconf} || die "Error: cannot configure package" make || die "Error: problems encountered building package" } src_install() { make DESTDIR=${D} install || die "Error: problems while installing files" }