diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-08-04 22:29:20 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-08-04 22:29:20 +0000 |
commit | 897617118c2fd5d3e1f698cf590dd5a74d335010 (patch) | |
tree | 6933aa76048e4b9f30ff22c90f0277478ff26c02 /sci-calculators/pcalc | |
parent | keyword amd64-linux, x86-linux (diff) | |
download | gentoo-2-897617118c2fd5d3e1f698cf590dd5a74d335010.tar.gz gentoo-2-897617118c2fd5d3e1f698cf590dd5a74d335010.tar.bz2 gentoo-2-897617118c2fd5d3e1f698cf590dd5a74d335010.zip |
keyword amd64-linux, x86-linux, switch to EAPI4
(Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64)
Diffstat (limited to 'sci-calculators/pcalc')
-rw-r--r-- | sci-calculators/pcalc/ChangeLog | 7 | ||||
-rw-r--r-- | sci-calculators/pcalc/pcalc-2.ebuild | 19 |
2 files changed, 15 insertions, 11 deletions
diff --git a/sci-calculators/pcalc/ChangeLog b/sci-calculators/pcalc/ChangeLog index 2e2ba8b887d3..34604b755df4 100644 --- a/sci-calculators/pcalc/ChangeLog +++ b/sci-calculators/pcalc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-calculators/pcalc -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-calculators/pcalc/ChangeLog,v 1.24 2011/08/07 13:08:55 vapier Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/pcalc/ChangeLog,v 1.25 2012/08/04 22:29:20 bicatali Exp $ + + 04 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> pcalc-2.ebuild: + keyword amd64-linux, x86-linux, switch to EAPI4 07 Aug 2011; Mike Frysinger <vapier@gentoo.org> pcalc-1.3.ebuild, pcalc-2.ebuild: diff --git a/sci-calculators/pcalc/pcalc-2.ebuild b/sci-calculators/pcalc/pcalc-2.ebuild index 67270dfbf960..83f423a8683d 100644 --- a/sci-calculators/pcalc/pcalc-2.ebuild +++ b/sci-calculators/pcalc/pcalc-2.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-calculators/pcalc/pcalc-2.ebuild,v 1.2 2011/08/07 13:08:55 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/pcalc/pcalc-2.ebuild,v 1.3 2012/08/04 22:29:20 bicatali Exp $ + +EAPI=4 inherit toolchain-funcs @@ -10,18 +12,17 @@ SRC_URI="mirror://sourceforge/pcalc/${P}.tar.lzma" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="" DEPEND="sys-devel/flex" RDEPEND="" -src_compile() { - tc-export CC - emake pcalc || die +src_prepare() { + sed -i -e "s:/usr:${EPREFIX}/usr:g" Makefile || die } -src_install() { - emake install DESTDIR="${D}" || die - dodoc AUTHORS ChangeLog EXAMPLE README +src_compile() { + tc-export CC + emake pcalc } |