diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2005-02-28 01:18:14 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2005-02-28 01:18:14 +0000 |
commit | 56e8b23405bb6c9a5eee59a767b1ac1873864302 (patch) | |
tree | 3e3feed1d154a62216c105b0c9203ff7fd5a9c65 /sci-electronics/splat | |
parent | adding to ~amd64 (diff) | |
download | gentoo-2-56e8b23405bb6c9a5eee59a767b1ac1873864302.tar.gz gentoo-2-56e8b23405bb6c9a5eee59a767b1ac1873864302.tar.bz2 gentoo-2-56e8b23405bb6c9a5eee59a767b1ac1873864302.zip |
merged some enhancements thanks to James Rowe <jnrowe@ukfsn.org>, fixed man page
(Portage version: 2.0.51-r15)
Diffstat (limited to 'sci-electronics/splat')
-rw-r--r-- | sci-electronics/splat/ChangeLog | 10 | ||||
-rw-r--r-- | sci-electronics/splat/Manifest | 14 | ||||
-rw-r--r-- | sci-electronics/splat/splat-1.1.0.ebuild | 40 |
3 files changed, 27 insertions, 37 deletions
diff --git a/sci-electronics/splat/ChangeLog b/sci-electronics/splat/ChangeLog index 61eecc145a39..42f80fd027d8 100644 --- a/sci-electronics/splat/ChangeLog +++ b/sci-electronics/splat/ChangeLog @@ -1,9 +1,13 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/splat/ChangeLog,v 1.2 2005/02/28 01:18:14 xmerlin Exp $ -*splat-1.1.0 (28 Mar 2005) + 28 Feb 2005; Christian Zoffoli <xmerlin@gentoo.org> splat-1.1.0.ebuild: + merged some enhancements thanks to James Rowe <jnrowe@ukfsn.org>, fixed man + page - 28 Mar 2005; Christian Zoffoli <xmerlin@gentoo.org> +splat-1.1.0.ebuild: +*splat-1.1.0 (28 Feb 2005) + + 28 Feb 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 index f5c49045fda3..b1a3f98ba0b7 100644 --- a/sci-electronics/splat/Manifest +++ b/sci-electronics/splat/Manifest @@ -1,14 +1,4 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 3edea24d116268e78706d32ce954968f splat-1.1.0.ebuild 1409 -MD5 aab71241f84fbf5f895b63895016df94 ChangeLog 337 +MD5 d0ed04722d760d25921ac216dabcef3c splat-1.1.0.ebuild 1207 +MD5 2fcd57671271237d8af4ae253017ff49 ChangeLog 337 MD5 4beb690f894fcf57f38bbcc324646edf metadata.xml 307 MD5 8589ffe78e66df22ead52cbc9b6e5820 files/digest-splat-1.1.0 63 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFCR3TcgMUyd/cdjWsRAjD8AJ957c+95b+pB6XULSM79V0lsUiifwCcDIl9 -qPYDQ2iGWBmCxTp60vZFi7o= -=WsvU ------END PGP SIGNATURE----- diff --git a/sci-electronics/splat/splat-1.1.0.ebuild b/sci-electronics/splat/splat-1.1.0.ebuild index c2822ddaada7..fc21dca1b8a2 100644 --- a/sci-electronics/splat/splat-1.1.0.ebuild +++ b/sci-electronics/splat/splat-1.1.0.ebuild @@ -1,8 +1,8 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/splat/splat-1.1.0.ebuild,v 1.2 2005/02/28 01:18:14 xmerlin Exp $ -inherit eutils +inherit toolchain-funcs 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" @@ -15,28 +15,26 @@ IUSE="" DEPEND="virtual/libc sys-libs/zlib - doc? ( - app-text/ghostscript - sys-apps/groff - ) + app-arch/bzip2 " +RDEPEND="" + src_compile() { - g++ -Wall ${CXXFLAGS} -s -lm -lbz2 itm.cpp splat.cpp -o splat || die + local CC=$(tc-getCC) CXX=$(tc-getCXX) + local STRIP="" - 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 + if ! has nostrip ${FEATURES} ; then + local STRIP="-s" + fi - cd ../docs/man - groff -e -T ascii -man splat.man > splat.1 2>/dev/null + ${CXX} -Wall ${CXXFLAGS} -lm -lbz2 itm.cpp splat.cpp -o splat || die + + cd utils + ${CC} -Wall ${CFLAGS} citydecoder.c -o citydecoder + ${CC} -Wall ${CFLAGS} usgs2sdf.c -o usgs2sdf + ${CC} -Wall ${CFLAGS} -lz fontdata.c -o fontdata - 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() { @@ -45,10 +43,8 @@ src_install() { # utilities dobin utils/{citydecoder,usgs2sdf,postdownload} || die - doman docs/man/${PN}.1 || die + newman docs/man/splat.man splat.1 dodoc CHANGES README utils/fips.txt sample.lrp - if use doc; then - dodoc docs/man/${PN}.pdf docs/man/${PN}.txt || die - fi + newdoc utils/README README.UTILS } |