/[gentoo-x86]/dev-vcs/gitstats/gitstats-100711.ebuild
Gentoo

Contents of /dev-vcs/gitstats/gitstats-100711.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Jul 23 07:46:04 2010 UTC (4 years, 1 month ago) by jlec
Branch: MAIN
Changes since 1.1: +5 -1 lines
Last fix for Parhon ABIS, 329485
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitstats/gitstats-100711.ebuild,v 1.1 2010/07/11 15:37:27 jlec Exp $
4
5 EAPI="2"
6
7 PYTHON_DEPEND="2"
8
9 inherit python
10
11 DESCRIPTION="Statistics generator for git"
12 HOMEPAGE="http://gitstats.sourceforge.net/"
13 SRC_URI="mirror://gentoo/${P}.tar.bz2"
14
15 LICENSE="GPL-3"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE=""
19
20 RDEPEND="
21 sci-visualization/gnuplot[gd]
22 dev-vcs/git"
23 DEPEND=""
24
25 pkg_setup() {
26 python_set_active_version 2
27 }
28
29 src_prepare() {
30 sed "s:basedir = os.path.dirname(os.path.abspath(__file__)):basedir = '/usr/share/gitstats':g" \
31 -i gitstats || die "failed to fix static files path"
32 }
33
34 src_compile() {
35 :;
36 }
37
38 src_install() {
39 emake PREFIX="${D}"/usr VERSION="${PV}" install || die
40 dodoc doc/{README,*.txt} || die "doc install failed"
41 }

  ViewVC Help
Powered by ViewVC 1.1.20