/[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 - (show 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 # Copyright 1999-2012 Gentoo Foundation
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 $
4
5 EAPI=4
6
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 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
16 IUSE=""
17
18 DEPEND="sys-devel/flex"
19 RDEPEND=""
20
21 src_prepare() {
22 sed -i -e "s:/usr:${EPREFIX}/usr:g" Makefile || die
23 }
24
25 src_compile() {
26 tc-export CC
27 emake pcalc
28 }

  ViewVC Help
Powered by ViewVC 1.1.20