diff options
Diffstat (limited to 'dev-dotnet/flickrnet-bin/flickrnet-bin-2.2-r1.ebuild')
-rw-r--r-- | dev-dotnet/flickrnet-bin/flickrnet-bin-2.2-r1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-dotnet/flickrnet-bin/flickrnet-bin-2.2-r1.ebuild b/dev-dotnet/flickrnet-bin/flickrnet-bin-2.2-r1.ebuild new file mode 100644 index 000000000000..3d5b29527b2c --- /dev/null +++ b/dev-dotnet/flickrnet-bin/flickrnet-bin-2.2-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/flickrnet-bin/flickrnet-bin-2.2-r1.ebuild,v 1.1 2010/09/21 12:22:48 pacho Exp $ + +EAPI=2 + +MY_PN="FlickrNet" + +inherit mono multilib + +DESCRIPTION="A .Net Library for accessing the Flickr API - Binary version" +HOMEPAGE="http://www.codeplex.com/FlickrNet" + +# Upstream download require click-through LGPL-2.1. +# Since the license allows us to do that, just redistribute +# it in a decent format. +SRC_URI="mirror://gentoo/${MY_PN}${PV}.zip" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=">=dev-lang/mono-2.4" +DEPEND="${RDEPEND}" + +S="${WORKDIR}" + +src_compile() { + : +} + +src_install() { + egacinstall Release/${MY_PN}.dll ${MY_PN} || die + + # Install .pc file as required by f-spot + dodir /usr/$(get_libdir)/pkgconfig + sed -e "s:@VERSION@:${PV}:" \ + -e "s:@LIBDIR@:/usr/$(get_libdir):" \ + "${FILESDIR}"/flickrnet.pc.in > "${D}"/usr/$(get_libdir)/pkgconfig/flickrnet.pc \ + || die "sed failed" +} |