/[gentoo-x86]/sci-electronics/splat/splat-1.1.0.ebuild
Gentoo

Contents of /sci-electronics/splat/splat-1.1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Jun 9 09:49:17 2008 UTC (11 years, 4 months ago) by loki_val
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Fix and bump for gcc-4.3, Closes bug #217972.
(Portage version: 2.1.5.4)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-electronics/splat/splat-1.1.0.ebuild,v 1.3 2005/05/06 14:42:25 dholm Exp $
4
5 inherit toolchain-funcs
6
7 DESCRIPTION="SPLAT! is an RF Signal Propagation, Loss, And Terrain analysis tool for the spectrum between 20 MHz and 20 GHz."
8 HOMEPAGE="http://www.qsl.net/kd2bd/splat.html"
9 SRC_URI="ftp://ftp.ibiblio.org/pub/linux/apps/ham/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~x86 ~ppc"
14 IUSE=""
15
16 DEPEND="virtual/libc
17 sys-libs/zlib
18 app-arch/bzip2
19 "
20
21 RDEPEND=""
22
23 src_compile() {
24 local CC=$(tc-getCC) CXX=$(tc-getCXX)
25 local STRIP=""
26
27 if ! has nostrip ${FEATURES} ; then
28 local STRIP="-s"
29 fi
30
31 ${CXX} -Wall ${CXXFLAGS} -lm -lbz2 itm.cpp splat.cpp -o splat || die
32
33 cd utils
34 ${CC} -Wall ${CFLAGS} citydecoder.c -o citydecoder
35 ${CC} -Wall ${CFLAGS} usgs2sdf.c -o usgs2sdf
36 ${CC} -Wall ${CFLAGS} -lz fontdata.c -o fontdata
37
38 }
39
40 src_install() {
41 # splat binary
42 dobin splat || die
43
44 # utilities
45 dobin utils/{citydecoder,usgs2sdf,postdownload} || die
46 newman docs/man/splat.man splat.1
47
48 dodoc CHANGES README utils/fips.txt sample.lrp
49 newdoc utils/README README.UTILS
50 }

  ViewVC Help
Powered by ViewVC 1.1.20