/[gentoo-x86]/sci-calculators/hexcalc/hexcalc-1.11-r2.ebuild
Gentoo

Contents of /sci-calculators/hexcalc/hexcalc-1.11-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Sat Aug 4 21:22:08 2012 UTC (2 years, 4 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +2 -2 lines
keyword amd64-linux, x86-linux

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

1 jlec 1.5 # Copyright 1999-2012 Gentoo Foundation
2 jlec 1.1 # Distributed under the terms of the GNU General Public License v2
3 bicatali 1.6 # $Header: /var/cvsroot/gentoo-x86/sci-calculators/hexcalc/hexcalc-1.11-r2.ebuild,v 1.5 2012/04/26 16:40:51 jlec Exp $
4 jlec 1.1
5 jlec 1.5 EAPI=4
6 jlec 1.1
7     inherit eutils toolchain-funcs
8    
9     DESCRIPTION="A simple hex calculator for X"
10     HOMEPAGE="ftp://ftp.x.org/R5contrib/"
11     SRC_URI="ftp://ftp.x.org/R5contrib/${PN}.tar.Z"
12 jlec 1.5
13 jlec 1.1 LICENSE="GPL-2"
14     SLOT="0"
15 bicatali 1.6 KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
16 jlec 1.1 IUSE=""
17    
18     RDEPEND="x11-libs/libXaw"
19     DEPEND="${RDEPEND}
20     x11-misc/imake
21     app-text/rman"
22    
23     S=${WORKDIR}/${PN}
24    
25     src_prepare() {
26 jlec 1.5 epatch "${FILESDIR}"/${PN}-*
27 jlec 1.1 }
28    
29     src_compile() {
30     xmkmf || die
31     emake \
32     CC="$(tc-getCC)" \
33     CFLAGS="${CFLAGS}" \
34     CCLINK="$(tc-getCC)" \
35 jlec 1.5 LDOPTIONS="${LDFLAGS}"
36 jlec 1.1 }
37    
38     src_install() {
39 jlec 1.5 dobin ${PN}
40     newman ${PN}.{man,1}
41 jlec 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20