/[gentoo-x86]/dev-util/bam/bam-0.4.0.ebuild
Gentoo

Contents of /dev-util/bam/bam-0.4.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon Jan 26 10:51:10 2015 UTC (3 months, 3 weeks ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
drop old

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/bam/bam-0.4.0.ebuild,v 1.5 2012/07/22 17:32:58 pacho Exp $
4
5 EAPI=4
6 PYTHON_DEPEND="2"
7
8 inherit eutils python toolchain-funcs
9
10 DESCRIPTION="Fast and flexible Lua-based build system"
11 HOMEPAGE="http://matricks.github.com/bam/"
12 SRC_URI="http://github.com/downloads/matricks/${PN}/${P}.tar.bz2"
13
14 LICENSE="ZLIB"
15 SLOT="0"
16 KEYWORDS="amd64 x86"
17 IUSE="doc test"
18
19 RDEPEND="dev-lang/lua"
20 DEPEND="${RDEPEND}
21 doc? ( dev-lang/python )
22 test? ( dev-lang/python )"
23
24 pkg_setup() {
25 python_set_active_version 2
26 python_pkg_setup
27 }
28
29 src_prepare() {
30 cp "${FILESDIR}"/${PV}/Makefile "${S}"/Makefile || die "cp failed"
31 epatch "${FILESDIR}"/${PV}/${P}-test.py.patch
32 python_convert_shebangs -r 2 .
33 tc-export CC
34 }
35
36 src_compile() {
37 emake ${PN}
38 if use doc; then
39 $(PYTHON) scripts/gendocs.py || die "doc generation failed"
40 fi
41 }
42
43 src_install() {
44 dobin ${PN}
45 if use doc; then
46 dohtml docs/${PN}{.html,_logo.png}
47 fi
48 }

  ViewVC Help
Powered by ViewVC 1.1.20