/[gentoo-x86]/sci-calculators/pcalc/pcalc-2.ebuild
Gentoo

Diff of /sci-calculators/pcalc/pcalc-2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sci-calculators/pcalc/pcalc-2.ebuild,v 1.2 2011/08/07 13:08:55 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sci-calculators/pcalc/pcalc-2.ebuild,v 1.3 2012/08/04 22:29:20 bicatali Exp $
4
5EAPI=4
4 6
5inherit toolchain-funcs 7inherit toolchain-funcs
6 8
7DESCRIPTION="the programmers calculator" 9DESCRIPTION="the programmers calculator"
8HOMEPAGE="http://pcalc.sourceforge.net/" 10HOMEPAGE="http://pcalc.sourceforge.net/"
9SRC_URI="mirror://sourceforge/pcalc/${P}.tar.lzma" 11SRC_URI="mirror://sourceforge/pcalc/${P}.tar.lzma"
10 12
11LICENSE="GPL-2" 13LICENSE="GPL-2"
12SLOT="0" 14SLOT="0"
13KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" 15KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
14IUSE="" 16IUSE=""
15 17
16DEPEND="sys-devel/flex" 18DEPEND="sys-devel/flex"
17RDEPEND="" 19RDEPEND=""
18 20
21src_prepare() {
22 sed -i -e "s:/usr:${EPREFIX}/usr:g" Makefile || die
23}
24
19src_compile() { 25src_compile() {
20 tc-export CC 26 tc-export CC
21 emake pcalc || die 27 emake pcalc
22} 28}
23
24src_install() {
25 emake install DESTDIR="${D}" || die
26 dodoc AUTHORS ChangeLog EXAMPLE README
27}

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20