# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit mono rpm DESCRIPTION="Library for interfacing with Apple iPod devices" HOMEPAGE="http://www.snorp.net/log/?page_id=53" SRC_URI="http://repo.nrpms.net/${PN}/${PV}/SRPMS/${P}-3.1.fc4.nr.src.rpm" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="doc" RDEPEND="dev-lang/mono >=dev-libs/libipoddevice-0.2.2 >=dev-dotnet/gtk-sharp-2.0" DEPEND="${RDEPEND} doc? ( dev-util/monodoc )" src_compile() { econf $(use_enable doc docs) || die "econf failed" emake || die "emake failed" } src_install() { make DESTDIR="${D}" install || die "install failed" dodir /usr/lib/mono/ipod-sharp for x in ipod-sharp-ui.dll ipod-sharp.dll; do dosym ../../ipod-sharp/$x /usr/lib/mono/ipod-sharp/$x done dodoc AUTHORS ChangeLog NEWS README }