/[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 - (hide 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 vapier 1.4 # Copyright 1999-2014 Gentoo Foundation
2 vapier 1.1 # Distributed under the terms of the GNU General Public License v2
3 vapier 1.5 # $Header: /var/cvsroot/gentoo-x86/sci-calculators/pcalc/pcalc-2.ebuild,v 1.4 2014/01/18 05:23:48 vapier Exp $
4 bicatali 1.3
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 vapier 1.5 KEYWORDS="alpha amd64 arm arm64 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