mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/nmeap: drop old version
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Conrad Kostecki <conrad@kostecki.com> Closes: https://github.com/gentoo/gentoo/pull/12502 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
committed by
Andreas Sturmlechner
parent
b1ff6a5fe3
commit
9ee604e4e8
@@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Extensible NMEA-0183 (GPS) data parser in standard C"
|
||||
HOMEPAGE="http://nmeap.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="doc? ( app-doc/doxygen )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Repsect users CFLAGS for the static lib archive
|
||||
sed -i -e 's/CFLAGS =/CFLAGS +=/' -e 's/-g -O0 -Werror//' src/Makefile || die
|
||||
|
||||
# Don't build test programs, they are not needed
|
||||
sed -i -e '/TST/d' Makefile || die
|
||||
|
||||
# Silent output of Doxygen and update it, since it is quite old
|
||||
if use doc; then
|
||||
sed -i -e 's/QUIET.*/QUIET = YES/' Doxyfile || die
|
||||
doxygen -u Doxyfile 2>/dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myemakeopts=(
|
||||
AR="$(tc-getAR)"
|
||||
CC="$(tc-getCC)"
|
||||
)
|
||||
|
||||
emake "${myemakeopts[@]}"
|
||||
|
||||
if use doc; then
|
||||
doxygen Doxyfile || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib.a lib/libnmeap.a
|
||||
|
||||
doheader inc/nmeap.h inc/nmeap_def.h
|
||||
|
||||
if use doc; then
|
||||
local HTML_DOCS=( "doc/tutorial.html" "doc/html" )
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user