/[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.2 - (hide annotations) (download)
Sun Aug 7 13:08:55 2011 UTC (8 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.1: +5 -2 lines
We need to link against flex at build time.

(Portage version: 2.2.0_alpha46/cvs/Linux x86_64)

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

  ViewVC Help
Powered by ViewVC 1.1.20