net-misc/ncp - 1.2.4 (gentoo)

Search

Install

Install this version:

emerge -a =net-misc/ncp-1.2.4

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-misc/ncp-1.2.4

Or alternatively:

emerge --autounmask-write -a =net-misc/ncp-1.2.4

Package Information

Description:
Utility for copying files in a LAN (npoll, npush)
Homepage:
https://www.fefe.de/ncp/
License:
public-domain

Ebuild Details

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

EAPI=7

inherit toolchain-funcs

DESCRIPTION="Utility for copying files in a LAN (npoll, npush)"
HOMEPAGE="https://www.fefe.de/ncp/"
SRC_URI="https://dl.fefe.de/${P}.tar.bz2"

LICENSE="public-domain" # mail from author, bug 446540
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND=">=dev-libs/libowfat-0.28-r1[-diet]"

PATCHES=( "${FILESDIR}/${P}-fix-makefile.patch" )

src_prepare() {
	default
	rm Makefile || die
}

src_compile() {
	emake \
		CC="$(tc-getCC)" \
		CFLAGS="${CFLAGS} -I/usr/include/libowfat" \
		LDFLAGS="${LDFLAGS}" \
		STRIP="#"
}

src_install() {
	dobin ${PN}
	dosym ${PN} /usr/bin/npoll
	dosym ${PN} /usr/bin/npush

	doman ncp.1 npush.1
	dodoc NEWS
}

Inherited Eclasses

Dependencies

DEPEND

>=dev-libs/libowfat-0.28-r1[-diet]

Manifest for 1.2.4

Type File Size Source URLs
DIST ncp-1.2.4.tar.bz2 6172 bytes https://dl.fefe.de/ncp-1.2.4.tar.bz2