blob: 935fa7028b27ff39297e12b74fb4e52d6c900e66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/google-gdata-sharp/google-gdata-sharp-1.4.0.2-r2.ebuild,v 1.2 2010/12/03 10:39:52 fauli Exp $
EAPI=3
inherit mono eutils
MY_PN="libgoogle-data-mono"
DESCRIPTION="C# bindings for the Google GData API"
HOMEPAGE="http://code.google.com/p/google-gdata/"
SRC_URI="http://google-gdata.googlecode.com/files/${MY_PN}-${PV}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 x86"
IUSE=""
# tests are completely broken (bug #310101), revisit in future bumps.
RESTRICT="test"
DEPEND=">=dev-lang/mono-2.0"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_PN}-${PV}"
src_prepare() {
epatch "${FILESDIR}"/pkgconfig-typo-fix.patch
}
src_compile() {
emake PREFIX=/usr || die "compilation failed"
}
src_install() {
# The Makefile has prefix=/usr/local by default :|
emake PREFIX=/usr DESTDIR="${ED}" install || die "installation failed"
}
|