blob: 2eb7153f6e469aa42f20a978ab6f8b22c71e1f76 (
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
# $Id$
EAPI=3
inherit mono eutils
MY_PN="libgoogle-data-mono"
DESCRIPTION="C# bindings for the Google GData API"
HOMEPAGE="https://code.google.com/p/google-gdata/"
SRC_URI="https://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"
}
|