diff options
-rw-r--r-- | sci-electronics/splat/ChangeLog | 9 | ||||
-rw-r--r-- | sci-electronics/splat/Manifest | 4 | ||||
-rw-r--r-- | sci-electronics/splat/files/digest-splat-1.1.0 | 1 | ||||
-rw-r--r-- | sci-electronics/splat/metadata.xml | 11 | ||||
-rw-r--r-- | sci-electronics/splat/splat-1.1.0.ebuild | 54 |
5 files changed, 79 insertions, 0 deletions
diff --git a/sci-electronics/splat/ChangeLog b/sci-electronics/splat/ChangeLog new file mode 100644 index 000000000000..61eecc145a39 --- /dev/null +++ b/sci-electronics/splat/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sci-electronics/splat +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/splat/ChangeLog,v 1.1 2005/02/26 21:19:26 xmerlin Exp $ + +*splat-1.1.0 (28 Mar 2005) + + 28 Mar 2005; Christian Zoffoli <xmerlin@gentoo.org> +splat-1.1.0.ebuild: + new in portage + diff --git a/sci-electronics/splat/Manifest b/sci-electronics/splat/Manifest new file mode 100644 index 000000000000..b380e386945f --- /dev/null +++ b/sci-electronics/splat/Manifest @@ -0,0 +1,4 @@ +MD5 da17f7910202efcc5585d86178b10219 splat-1.1.0.ebuild 1310 +MD5 95836b041dc67917d5e78f0ea5dc25a7 ChangeLog 243 +MD5 4beb690f894fcf57f38bbcc324646edf metadata.xml 307 +MD5 8589ffe78e66df22ead52cbc9b6e5820 files/digest-splat-1.1.0 63 diff --git a/sci-electronics/splat/files/digest-splat-1.1.0 b/sci-electronics/splat/files/digest-splat-1.1.0 new file mode 100644 index 000000000000..c4638fc334d0 --- /dev/null +++ b/sci-electronics/splat/files/digest-splat-1.1.0 @@ -0,0 +1 @@ +MD5 216761c2fc77e74578370492f20b27d2 splat-1.1.0.tar.gz 142804 diff --git a/sci-electronics/splat/metadata.xml b/sci-electronics/splat/metadata.xml new file mode 100644 index 000000000000..8ca81c265a50 --- /dev/null +++ b/sci-electronics/splat/metadata.xml @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>xmerlin@gentoo.org</email> + <name>Christian Zoffoli</name> + </maintainer> + <longdescription> + </longdescription> +</pkgmetadata> 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 +} |