diff options
author | Justin Lecher <jlec@gentoo.org> | 2014-11-12 16:07:11 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2014-11-12 16:07:11 +0100 |
commit | 7e412f805a25a6838d6909eb1739c40f6bcf4636 (patch) | |
tree | 108f1a7e3fb70efcd34c5f6bba61bce3d5097cfe /sci-mathematics | |
parent | sci-mathematics/acl2: Drop old (diff) | |
download | sci-7e412f805a25a6838d6909eb1739c40f6bcf4636.tar.gz sci-7e412f805a25a6838d6909eb1739c40f6bcf4636.tar.bz2 sci-7e412f805a25a6838d6909eb1739c40f6bcf4636.zip |
sci-mathematics/axiom: Bump to EAPI=5
Package-Manager: portage-2.2.14
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/axiom/ChangeLog | 6 | ||||
-rw-r--r-- | sci-mathematics/axiom/axiom-201009.ebuild | 31 | ||||
-rw-r--r-- | sci-mathematics/axiom/metadata.xml | 2 |
3 files changed, 19 insertions, 20 deletions
diff --git a/sci-mathematics/axiom/ChangeLog b/sci-mathematics/axiom/ChangeLog index a8d64e4cd..42d2b2f90 100644 --- a/sci-mathematics/axiom/ChangeLog +++ b/sci-mathematics/axiom/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for sci-mathematics/axiom -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/axiom/ChangeLog,v 1.22 2008/08/30 13:17:33 markusle Exp $ + 12 Nov 2014; Justin Lecher <jlec@gentoo.org> axiom-201009.ebuild, + metadata.xml: + Bump to EAPI=5 + 25 Jun 2011; Justin Lecher <jlec@gentoo.org> axiom-201009.ebuild, metadata.xml: RDEPEND is not explicitly assigned -> fixed diff --git a/sci-mathematics/axiom/axiom-201009.ebuild b/sci-mathematics/axiom/axiom-201009.ebuild index 624637149..58323f136 100644 --- a/sci-mathematics/axiom/axiom-201009.ebuild +++ b/sci-mathematics/axiom/axiom-201009.ebuild @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ +EAPI=5 + inherit eutils flag-o-matic multilib DESCRIPTION="Axiom is a general purpose Computer Algebra system" @@ -57,10 +59,7 @@ S="${WORKDIR}"/${PN} # fi # } -src_unpack() { - unpack ${A} - cd "${S}" - +src_prepare() { ## How weird, axiom ships these patches, but does not apply them. ## So, we keep our gentoo patches around. cp "${FILESDIR}"/noweb-2.9-insecure-tmp-file.patch.input \ @@ -69,16 +68,13 @@ src_unpack() { # cp "${FILESDIR}"/${PN}-200711-gcl-configure.patch \ # "${S}"/zips/gcl-2.6.7.configure.in.patch \ # || die "Failed to fix gcl-2.6.7 configure" - epatch "${FILESDIR}"/noweb-2.9-insecure-tmp-file.Makefile.patch \ - || die "Failed to patch noweb security issue!" -} + epatch "${FILESDIR}"/noweb-2.9-insecure-tmp-file.Makefile.patch -src_compile() { # lots of strict-aliasing badness append-flags -fno-strict-aliasing +} - econf || die "Failed to configure" - +src_compile() { ## I believe 2.6.8_pre4 can be used now. # use gcl 2.6.7 # sed -e "s:GCLVERSION=gcl-2.6.8pre$:GCLVERSION=gcl-2.6.7:" \ @@ -94,22 +90,21 @@ src_compile() { unset ABI # Let the fun begin... - AXIOM="${S}"/mnt/linux emake -j1 || die "emake failed" + AXIOM="${S}"/mnt/linux emake -j1 } src_install() { - emake DESTDIR="${D}"/opt/axiom COMMAND="${D}"/opt/axiom/mnt/linux/bin/axiom install \ - || die 'Failed to install Axiom!' + emake DESTDIR="${ED}"/opt/axiom COMMAND="${ED}"/opt/axiom/mnt/linux/bin/axiom install - mv "${D}"/opt/axiom/mnt/linux/* "${D}"/opt/axiom \ + mv "${ED}"/opt/axiom/mnt/linux/* "${ED}"/opt/axiom \ || die "Failed to mv axiom into its final destination path." - rm -fr "${D}"/opt/axiom/mnt \ + rm -fr "${ED}"/opt/axiom/mnt \ || die "Failed to remove old directory." - dodir /usr/bin - dosym /opt/axiom/bin/axiom /usr/bin/axiom + dosym ../../axiom/bin/axiom /usr/bin/axiom - sed -e "2d;3i AXIOM=/opt/axiom" \ + sed \ + -e "2d;3i AXIOM=/opt/axiom" \ -i "${D}"/opt/axiom/bin/axiom \ || die "Failed to patch axiom runscript!" diff --git a/sci-mathematics/axiom/metadata.xml b/sci-mathematics/axiom/metadata.xml index 2b0bd5314..66aa9fe42 100644 --- a/sci-mathematics/axiom/metadata.xml +++ b/sci-mathematics/axiom/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>sci-mathematics</herd> + <herd>sci-mathematics</herd> </pkgmetadata> |