mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
net-misc/ncp: remove old
Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/17162 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
ae7177032a
commit
0ea4ec2ecb
@@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2019 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"
|
||||
IUSE="diet"
|
||||
|
||||
DEPEND=">=dev-libs/libowfat-0.28-r1
|
||||
diet? ( dev-libs/dietlibc )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm Makefile || die
|
||||
sed -e '/^ncp:/,+5s:strip:#strip:' \
|
||||
-i GNUmakefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
CC="$(use diet && echo "diet -Os ")$(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
|
||||
}
|
||||
Reference in New Issue
Block a user