diff options
author | Maxim Koltsov <maksbotan@gentoo.org> | 2011-12-15 20:04:03 +0000 |
---|---|---|
committer | Maxim Koltsov <maksbotan@gentoo.org> | 2011-12-15 20:04:03 +0000 |
commit | 197ac3fdcca03837ed77451b1b8b2e2b29c22eb4 (patch) | |
tree | 5d32c7c1911a10e405c83d9b0e56ed478bec89e7 | |
parent | pam_mount: version bump (diff) | |
download | historical-197ac3fdcca03837ed77451b1b8b2e2b29c22eb4.tar.gz historical-197ac3fdcca03837ed77451b1b8b2e2b29c22eb4.tar.bz2 historical-197ac3fdcca03837ed77451b1b8b2e2b29c22eb4.zip |
Update leechcraft eclass to new filename suffix
-rw-r--r-- | eclass/ChangeLog | 5 | ||||
-rw-r--r-- | eclass/leechcraft.eclass | 12 |
2 files changed, 13 insertions, 4 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index d6f1ab4d84cb..b2e76bbd607e 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.43 2011/12/14 19:57:20 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.44 2011/12/15 20:04:03 maksbotan Exp $ + + 15 Dec 2011; Maxim Koltsov <maksbotan@gentoo.org> leechcraft.eclass: + Update leechcraft eclass to new filename suffix 14 Dec 2011; Alexandre Rostovtsev <tetromino@gentoo.org> gnome2-utils.eclass, gnome2.eclass: diff --git a/eclass/leechcraft.eclass b/eclass/leechcraft.eclass index 8567105cc8f0..c4e83a281486 100644 --- a/eclass/leechcraft.eclass +++ b/eclass/leechcraft.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/leechcraft.eclass,v 1.2 2011/08/22 18:20:34 maksbotan Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/leechcraft.eclass,v 1.3 2011/12/15 20:04:03 maksbotan Exp $ # # @ECLASS: leechcraft.eclass # @MAINTAINER: @@ -27,7 +27,7 @@ case ${EAPI:-0} in *) die "Unknown EAPI, bug eclass maintainers" ;; esac -inherit cmake-utils +inherit cmake-utils versionator if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="git://github.com/0xd34df00d/leechcraft.git" @@ -35,7 +35,13 @@ if [[ ${PV} == 9999 ]]; then inherit git-2 else - SRC_URI="mirror://sourceforge/leechcraft/leechcraft-${PV}.tar.bz2" + local suffix + if version_is_at_least 0.4.95; then + suffix="xz" + else + suffix="bz2" + fi + SRC_URI="mirror://sourceforge/leechcraft/leechcraft-${PV}.tar.${suffix}" S="${WORKDIR}/leechcraft-${PV}" fi |