blob: cf7a0df326483fe5d000e91f7e1898706b987d9c (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-jam/boost-jam-3.1.9-r1.ebuild,v 1.4 2006/04/01 06:30:32 eradicator Exp $
IUSE=""
inherit eutils
DESCRIPTION="Boost.Jam - an alternative to make based on Jam."
HOMEPAGE="http://www.boost.org/tools/build/jam_src/index.html"
SRC_URI="mirror://sourceforge/boost/${P}.tgz"
RESTRICT="nomirror"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
DEPEND="dev-libs/boost
!dev-util/jam"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-dir.patch
epatch ${FILESDIR}/${P}-amd64.patch
}
src_compile() {
./build.sh
}
src_install() {
dodoc boost-jam.spec Porting LICENSE_1_0.txt
dohtml Jam.html
cd ${S}/bin.linux${ARCH}
dobin bjam jam mkjambase yyacc || die "Unable to install binaries."
/* add check or ebuild will happilly succeed on unsupported archs and install only docs */
}
pkg_postinst() {
einfo "Sample code is available in /usr/share/boost/v2/example"
}
|