blob: f9166a630a3a77381153c093ef4f6e04f93d0fb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/cook/cook-2.31.ebuild,v 1.2 2009/12/05 11:45:38 flameeyes Exp $
inherit eutils
DESCRIPTION="tool for constructing files; a drop in replacement for make"
HOMEPAGE="http://www.canb.auug.org.au/~millerp/cook/cook.html"
SRC_URI="http://miller.emu.id.au/pmiller/software/cook/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
DEPEND="sys-devel/bison"
RDEPEND=""
src_compile() {
econf || die "./configure failed"
# doesn't seem to like parallel
emake -j1 || die
}
src_install() {
# we'll hijack the RPM_BUILD_ROOT variable which is intended for a
# similiar purpose anyway
# bug #295821
emake -j1 RPM_BUILD_ROOT="${D}" install || die
}
|