diff options
author | Slawek Lis <slis@gentoo.org> | 2014-11-18 06:50:41 +0000 |
---|---|---|
committer | Slawek Lis <slis@gentoo.org> | 2014-11-18 06:50:41 +0000 |
commit | 70096e25b03a4510c66e50846213b6919457d44e (patch) | |
tree | bc8e1c5f26a6bf20cf3c847b1af41ef67833efc1 /sci-electronics | |
parent | clean old impl, rm old (diff) | |
download | gentoo-2-70096e25b03a4510c66e50846213b6919457d44e.tar.gz gentoo-2-70096e25b03a4510c66e50846213b6919457d44e.tar.bz2 gentoo-2-70096e25b03a4510c66e50846213b6919457d44e.zip |
version bump
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x55265D89)
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/splat/ChangeLog | 7 | ||||
-rw-r--r-- | sci-electronics/splat/splat-1.4.1.ebuild | 73 |
2 files changed, 79 insertions, 1 deletions
diff --git a/sci-electronics/splat/ChangeLog b/sci-electronics/splat/ChangeLog index cfb9db8b8511..41c3552e5378 100644 --- a/sci-electronics/splat/ChangeLog +++ b/sci-electronics/splat/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-electronics/splat # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/splat/ChangeLog,v 1.14 2014/08/10 20:28:42 slyfox Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/splat/ChangeLog,v 1.15 2014/11/18 06:50:41 slis Exp $ + +*splat-1.4.1 (18 Nov 2014) + + 18 Nov 2014; Sławek Lis <slis@gentoo.org> +splat-1.4.1.ebuild: + version bump 10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org> splat-1.2.2-r2.ebuild, splat-1.3.0.ebuild, splat-1.4.0.ebuild: diff --git a/sci-electronics/splat/splat-1.4.1.ebuild b/sci-electronics/splat/splat-1.4.1.ebuild new file mode 100644 index 000000000000..2518a8ca5139 --- /dev/null +++ b/sci-electronics/splat/splat-1.4.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/splat/splat-1.4.1.ebuild,v 1.1 2014/11/18 06:50:41 slis Exp $ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="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="http://www.qsl.net/kd2bd/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc linguas_es" + +DEPEND="sys-libs/zlib + app-arch/bzip2" + +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${PN}-1.2.2-gcc43.patch" +} + +src_compile() { + # fake resulting file from interactive configuration script + # using default resolution + cat <<- EOF > "${S}/splat.h" + /* Parameters for 3 arc-second standard resolution mode of operation */ + #define MAXPAGES 9 + #define HD_MODE 0 + EOF + + local CC=$(tc-getCC) CXX=$(tc-getCXX) + + ${CXX} -Wall ${CXXFLAGS} ${LDFLAGS} itwom3.0.cpp splat.cpp -o rfsplat -lm -lbz2 || die + + cd utils + ${CC} -Wall ${CFLAGS} ${LDFLAGS} citydecoder.c -o citydecoder + ${CC} -Wall ${CFLAGS} ${LDFLAGS} usgs2sdf.c -o usgs2sdf + ${CC} -Wall ${CFLAGS} ${LDFLAGS} srtm2sdf.c -o srtm2sdf -lbz2 + #${CC} -Wall ${CFLAGS} ${LDFLAGS} fontdata.c -o fontdata -lz + ${CC} -Wall ${CFLAGS} ${LDFLAGS} bearing.c -o bearing -lm +} + +src_install() { + local SPLAT_LANG="english" + use linguas_es && SPLAT_LANG="spanish" + # splat binary + dobin rfsplat || die + + # utilities + dobin utils/{citydecoder,usgs2sdf,srtm2sdf,postdownload,bearing} || die + newman docs/${SPLAT_LANG}/man/splat.man rfsplat.1 || die + + dodoc CHANGES README utils/fips.txt || die + newdoc utils/README README.UTILS || die + + if use doc; then + dodoc docs/${SPLAT_LANG}/{pdf/splat.pdf,postscript/splat.ps} || die + fi + #sample data + docinto sample_data + dodoc sample_data/* || die +} + +pkg_postinst() { + elog "The original SPLAT! command got renamed to 'rfsplat' to avoid" + elog "filename collission with app-portage/splat." + elog "" + elog "Be aware that it is still referenced as 'splat' in the documentation." +} |