29 lines
793 B
Bash
29 lines
793 B
Bash
# Copyright 1999-2011 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-util/metro/metro-1.5.1.ebuild,v 1.3 2011/11/20 07:06:00 hollow Exp $
|
|
|
|
EAPI="3"
|
|
PYTHON_DEPEND="2"
|
|
inherit python
|
|
|
|
DESCRIPTION="release metatool used for creating Gentoo and Funtoo releases"
|
|
HOMEPAGE="http://www.github.com/funtoo/metro"
|
|
SRC_URI="http://www.funtoo.org/archive/metro/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm ~x86"
|
|
IUSE="+ccache +git threads"
|
|
|
|
DEPEND=""
|
|
RDEPEND="threads? ( app-arch/pbzip2 )
|
|
ccache? ( dev-util/ccache )
|
|
git? ( dev-vcs/git )"
|
|
|
|
src_install() {
|
|
insinto /usr/lib/metro
|
|
doins -r .
|
|
fperms 0755 /usr/lib/metro/metro
|
|
dosym /usr/lib/metro/metro /usr/bin/metro
|
|
python_convert_shebangs -r 2 "${ED}"
|
|
}
|