/[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.5 - (show annotations) (download)
Tue Dec 30 23:28:23 2014 UTC (5 years, 1 month ago) by vapier
Branch: MAIN
Changes since 1.4: +2 -2 lines
Stabilize for all.

1 # Copyright 1999-2014 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.4 2014/01/18 05:23:48 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 arm64 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