/[gentoo-x86]/eclass/go-mono.eclass
Gentoo

Diff of /eclass/go-mono.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.4
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/go-mono.eclass,v 1.3 2009/01/20 15:22:24 loki_val Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/go-mono.eclass,v 1.4 2009/01/27 01:36:09 loki_val Exp $
4 4
5# @ECLASS: go-mono.eclass 5# @ECLASS: go-mono.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# dotnet@gentoo.org 7# dotnet@gentoo.org
8# @BLURB: Common functionality for go-mono.org apps 8# @BLURB: Common functionality for go-mono.org apps
33 33
34DEPEND="${DEPEND} 34DEPEND="${DEPEND}
35 >=dev-util/pkgconfig-0.23 35 >=dev-util/pkgconfig-0.23
36 userland_GNU? ( >=sys-apps/findutils-4.4.0 )" 36 userland_GNU? ( >=sys-apps/findutils-4.4.0 )"
37 37
38if [[ "${GO_MONO_REL_PV}" = "2.2" ]] 38if [[ "${GO_MONO_REL_PV}" = "2.4" ]]
39then 39then
40 PRE_URI="http://mono.ximian.com/monobuild/preview/sources" 40 PRE_URI="http://mono.ximian.com/monobuild/preview/sources"
41fi 41fi
42 42
43if [[ "${PV%_rc*}" != "${PV}" ]] 43if [[ "${PV%_rc*}" != "${PV}" ]]
44then 44then
45 GO_MONO_P="${P%_rc*}" 45 GO_MONO_P="${P%_rc*}"
46 SRC_URI="${PRE_URI}/${PN}/${GO_MONO_P} -> ${P}.tar.bz2" 46 SRC_URI="${PRE_URI}/${PN}/${GO_MONO_P}.tar.bz2 -> ${P}.tar.bz2"
47 S="${WORKDIR}/${GO_MONO_P}" 47 S="${WORKDIR}/${GO_MONO_P}"
48elif [[ "${PV%_pre*}" != "${PV}" ]] 48elif [[ "${PV%_pre*}" != "${PV}" ]]
49then 49then
50 GO_MONO_P="${P%_pre*}" 50 GO_MONO_P="${P%_pre*}"
51 SRC_URI="${PRE_URI}/${PN}/${GO_MONO_P} -> ${P}.tar.bz2" 51 SRC_URI="${PRE_URI}/${PN}/${GO_MONO_P}.tar.bz2 -> ${P}.tar.bz2"
52 S="${WORKDIR}/${GO_MONO_P}" 52 S="${WORKDIR}/${GO_MONO_P}"
53else 53else
54 GO_MONO_P=${P} 54 GO_MONO_P=${P}
55 SRC_URI="http://ftp.novell.com/pub/mono/sources/${PN}/${P}.tar.bz2" 55 SRC_URI="http://ftp.novell.com/pub/mono/sources/${PN}/${P}.tar.bz2"
56fi 56fi

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20