Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@l.g.o, markusle@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sci-mathematics/axiom: ChangeLog axiom-200805.ebuild
Date: Sun, 13 Jul 2008 23:11:46
Message-Id: 20080713231142.GK1891@comet
1 On 14:37 Sat 12 Jul , Markus Dittrich (markusle) wrote:
2 > 1.1 sci-mathematics/axiom/axiom-200805.ebuild
3 >
4 > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/axiom/axiom-200805.ebuild?rev=1.1&view=markup
5 > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/axiom/axiom-200805.ebuild?rev=1.1&content-type=text/plain
6
7 > src_compile() {
8 > # lots of strict-aliasing badness
9 > append-flags -fno-strict-aliasing
10 >
11 > ./configure || die "Failed to configure"
12
13 If econf works, could you add a comment saying so?
14
15 > # use gcl 2.6.7
16 > sed -e "s:GCLVERSION=gcl-2.6.8pre$:GCLVERSION=gcl-2.6.7:" \
17 > -i Makefile.pamphlet Makefile \
18 > || die "Failed to select proper gcl"
19 >
20 > # fix libXpm.a location
21 > sed -e "s:X11R6/lib:$(get_libdir):g" -i Makefile.pamphlet \
22 > || die "Failed to fix libXpm lib paths"
23 >
24 > # Let the fun begin...
25 > AXIOM="${S}"/mnt/linux emake -j1 || die
26
27 Is there an upstream bug failed about parallel builds?
28
29 > src_install() {
30 > make DESTDIR="${D}"/opt/axiom COMMAND="${D}"/opt/axiom/mnt/linux/bin/axiom install \
31 > || die 'Failed to install Axiom!'
32
33 Use emake, please.
34
35 >
36 > mv "${D}"/opt/axiom/mnt/linux/* "${D}"/opt/axiom
37 > rm -fr "${D}"/opt/axiom/mnt
38
39 Might want `|| die` for both of those, and anything else that sucks if it fails.
40
41 --
42 Thanks,
43 Donnie
44
45 Donnie Berkholz
46 Developer, Gentoo Linux
47 Blog: http://dberkholz.wordpress.com

Replies