/[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.5 - (hide annotations) (download)
Sun Jul 22 17:32:58 2012 UTC (2 years, 4 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +5 -8 lines
Fix underlinking, bug #410175 by Alec Meyers.

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 tupone 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 pacho 1.5 # $Header: /var/cvsroot/gentoo-x86/dev-util/bam/bam-0.4.0.ebuild,v 1.4 2012/05/21 12:23:12 phajdan.jr Exp $
4 tupone 1.1
5 pacho 1.5 EAPI=4
6 tupone 1.1 PYTHON_DEPEND="2"
7    
8 jer 1.2 inherit eutils python toolchain-funcs
9 tupone 1.1
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 phajdan.jr 1.4 KEYWORDS="amd64 x86"
17 tupone 1.1 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 jer 1.2 tc-export CC
34 tupone 1.1 }
35    
36     src_compile() {
37 pacho 1.5 emake ${PN}
38 tupone 1.1 if use doc; then
39     $(PYTHON) scripts/gendocs.py || die "doc generation failed"
40     fi
41     }
42    
43     src_install() {
44 pacho 1.5 dobin ${PN}
45 tupone 1.1 if use doc; then
46 pacho 1.5 dohtml docs/${PN}{.html,_logo.png}
47 tupone 1.1 fi
48     }

  ViewVC Help
Powered by ViewVC 1.1.20