/[gentoo-x86]/dev-dotnet/flickrnet-bin/flickrnet-bin-2.2-r1.ebuild
Gentoo

Contents of /dev-dotnet/flickrnet-bin/flickrnet-bin-2.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Jun 13 22:19:27 2011 UTC (7 years, 3 months ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +4 -5 lines
Add missing unzip dependency (thanks to Piotr Szymaniak in bug #371515).

(Portage version: 2.2.0_alpha40/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-dotnet/flickrnet-bin/flickrnet-bin-2.2-r1.ebuild,v 1.4 2011/05/11 19:25:08 angelos Exp $
4
5 EAPI=2
6
7 MY_PN="FlickrNet"
8
9 inherit mono multilib
10
11 DESCRIPTION="A .Net Library for accessing the Flickr API - Binary version"
12 HOMEPAGE="http://www.codeplex.com/FlickrNet"
13
14 # Upstream download require click-through LGPL-2.1.
15 # Since the license allows us to do that, just redistribute
16 # it in a decent format.
17 SRC_URI="mirror://gentoo/${MY_PN}${PV}.zip"
18
19 LICENSE="LGPL-2.1"
20 SLOT="0"
21 KEYWORDS="amd64 ppc x86"
22 IUSE=""
23
24 RDEPEND=">=dev-lang/mono-2.4"
25 DEPEND="${RDEPEND}
26 app-arch/unzip"
27
28 S="${WORKDIR}"
29
30 src_compile() { :; }
31
32 src_install() {
33 egacinstall Release/${MY_PN}.dll ${MY_PN} || die
34
35 # Install .pc file as required by f-spot
36 dodir /usr/$(get_libdir)/pkgconfig
37 sed -e "s:@VERSION@:${PV}:" \
38 -e "s:@LIBDIR@:/usr/$(get_libdir):" \
39 "${FILESDIR}"/flickrnet.pc.in > "${D}"/usr/$(get_libdir)/pkgconfig/flickrnet.pc \
40 || die "sed failed"
41 }

  ViewVC Help
Powered by ViewVC 1.1.20