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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Sat Aug 4 22:29:20 2012 UTC (7 years, 6 months ago) by bicatali
Branch: MAIN
Changes since 1.2: +10 -9 lines
keyword amd64-linux, x86-linux, switch to EAPI4

(Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64)

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

  ViewVC Help
Powered by ViewVC 1.1.20