diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2005-02-26 21:19:26 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2005-02-26 21:19:26 +0000 |
commit | e5204ae688aaee59a955e8f471bb635668d5aafa (patch) | |
tree | 43533bcdfade4c48f1280e79ec8925e82fa12424 /sci-electronics/splat/splat-1.1.0.ebuild | |
parent | Version bump. Closing bug #83108. (diff) | |
download | gentoo-2-e5204ae688aaee59a955e8f471bb635668d5aafa.tar.gz gentoo-2-e5204ae688aaee59a955e8f471bb635668d5aafa.tar.bz2 gentoo-2-e5204ae688aaee59a955e8f471bb635668d5aafa.zip |
new in portage
(Portage version: 2.0.51-r15)
Diffstat (limited to 'sci-electronics/splat/splat-1.1.0.ebuild')
-rw-r--r-- | sci-electronics/splat/splat-1.1.0.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/sci-electronics/splat/splat-1.1.0.ebuild b/sci-electronics/splat/splat-1.1.0.ebuild new file mode 100644 index 000000000000..c2822ddaada7 --- /dev/null +++ b/sci-electronics/splat/splat-1.1.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/splat/splat-1.1.0.ebuild,v 1.1 2005/02/26 21:19:26 xmerlin Exp $ + +inherit eutils + +DESCRIPTION="SPLAT! is an RF Signal Propagation, Loss, And Terrain analysis tool for the spectrum between 20 MHz and 20 GHz." +HOMEPAGE="http://www.qsl.net/kd2bd/splat.html" +SRC_URI="ftp://ftp.ibiblio.org/pub/linux/apps/ham/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="virtual/libc + sys-libs/zlib + doc? ( + app-text/ghostscript + sys-apps/groff + ) + " + +src_compile() { + g++ -Wall ${CXXFLAGS} -s -lm -lbz2 itm.cpp splat.cpp -o splat || die + + cd utils + cc -Wall ${CFLAGS} -s citydecoder.c -o citydecoder + cc -Wall ${CFLAGS} -s usgs2sdf.c -o usgs2sdf + cc -Wall ${CFLAGS} -s -lz fontdata.c -o fontdata + + cd ../docs/man + groff -e -T ascii -man splat.man > splat.1 2>/dev/null + + if use doc; then + groff -man -Tascii -P'-bcou' -man splat.man 1> splat.txt 2>/dev/null + groff -e -T ps -man splat.man 1> splat.ps 2>/dev/null + ps2pdf splat.ps splat.pdf 2>/dev/null + fi +} + +src_install() { + # splat binary + dobin splat || die + + # utilities + dobin utils/{citydecoder,usgs2sdf,postdownload} || die + doman docs/man/${PN}.1 || die + + dodoc CHANGES README utils/fips.txt sample.lrp + if use doc; then + dodoc docs/man/${PN}.pdf docs/man/${PN}.txt || die + fi +} |