/[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 - (show annotations) (download)
Sat Aug 4 21:22:08 2012 UTC (23 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 # 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/hexcalc/hexcalc-1.11-r2.ebuild,v 1.5 2012/04/26 16:40:51 jlec Exp $
4
5 EAPI=4
6
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
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
16 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 epatch "${FILESDIR}"/${PN}-*
27 }
28
29 src_compile() {
30 xmkmf || die
31 emake \
32 CC="$(tc-getCC)" \
33 CFLAGS="${CFLAGS}" \
34 CCLINK="$(tc-getCC)" \
35 LDOPTIONS="${LDFLAGS}"
36 }
37
38 src_install() {
39 dobin ${PN}
40 newman ${PN}.{man,1}
41 }

  ViewVC Help
Powered by ViewVC 1.1.20