/[gentoo-x86]/eclass/leechcraft.eclass
Gentoo

Diff of /eclass/leechcraft.eclass

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

Revision 1.9 Revision 1.10
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 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/leechcraft.eclass,v 1.9 2013/04/30 07:51:24 pinkbyte Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/leechcraft.eclass,v 1.10 2013/05/08 10:25:48 pinkbyte Exp $
4# 4#
5# @ECLASS: leechcraft.eclass 5# @ECLASS: leechcraft.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# leechcraft@gentoo.org 7# leechcraft@gentoo.org
8# @AUTHOR: 8# @AUTHOR:
20# Thanks for original eclass to Andrian Nord <NightNord@niifaq.ru>. 20# Thanks for original eclass to Andrian Nord <NightNord@niifaq.ru>.
21# 21#
22# Only EAPI >1 supported 22# Only EAPI >1 supported
23 23
24case ${EAPI:-0} in 24case ${EAPI:-0} in
25 2|3|4|5) ;; 25 4|5) ;;
26 0|1) die "EAPI not supported, bug ebuild mantainer" ;; 26 0|1|2|3) die "EAPI not supported, bug ebuild mantainer" ;;
27 *) die "Unknown EAPI, bug eclass maintainers" ;; 27 *) die "Unknown EAPI, bug eclass maintainers" ;;
28esac 28esac
29 29
30inherit cmake-utils toolchain-funcs versionator 30inherit cmake-utils toolchain-funcs versionator
31 31
33 EGIT_REPO_URI="git://github.com/0xd34df00d/leechcraft.git" 33 EGIT_REPO_URI="git://github.com/0xd34df00d/leechcraft.git"
34 EGIT_PROJECT="leechcraft" 34 EGIT_PROJECT="leechcraft"
35 35
36 inherit git-2 36 inherit git-2
37else 37else
38 local suffix
39 if version_is_at_least 0.4.95; then
40 DEPEND="app-arch/xz-utils" 38 DEPEND="app-arch/xz-utils"
41 suffix="xz"
42 else
43 suffix="bz2"
44 fi
45 SRC_URI="mirror://sourceforge/leechcraft/leechcraft-${PV}.tar.${suffix}" 39 SRC_URI="mirror://sourceforge/leechcraft/leechcraft-${PV}.tar.xz"
46 S="${WORKDIR}/leechcraft-${PV}" 40 S="${WORKDIR}/leechcraft-${PV}"
47fi 41fi
48 42
49HOMEPAGE="http://leechcraft.org/" 43HOMEPAGE="http://leechcraft.org/"
50if version_is_at_least 0.5.95; then 44if version_is_at_least 0.5.95; then

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20