net-misc/ntripserver - 1.51 (nest)

Search

Package Information

Description:
Ntrip Version 2.0 Command Line Server
Homepage:
https://github.com/nunojpg/ntripserver
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
1.51 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit flag-o-matic toolchain-funcs

DESCRIPTION="Ntrip Version 2.0 Command Line Server"
HOMEPAGE="https://github.com/nunojpg/ntripserver"
SRC_URI="https://github.com/nunojpg/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DOCS=( README )

src_prepare() {
	default

	sed -i '/-DNDEBUG/s|-O3 ||' makefile || die "sed failed"
}

src_compile() {
	append-cflags
	append-ldflags

	emake CC="$(tc-getCC)" OPTS="${CFLAGS} ${LDFLAGS}"
}

src_install() {
	einstalldocs
	dobin ntripserver

	newinitd "${FILESDIR}"/ntripserver.initd ntripserver
	newconfd "${FILESDIR}"/ntripserver.confd ntripserver
}

Manifest for 1.51

Type File Size Source URLs
DIST ntripserver-1.51.tar.gz 19498 bytes https://github.com/nunojpg/ntripserver/archive/refs/tags/v1.51.tar.gz