From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-misc/ncp/ncp-1.2.4.ebuild | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 net-misc/ncp/ncp-1.2.4.ebuild (limited to 'net-misc/ncp/ncp-1.2.4.ebuild') diff --git a/net-misc/ncp/ncp-1.2.4.ebuild b/net-misc/ncp/ncp-1.2.4.ebuild new file mode 100644 index 000000000000..12a07aed2c18 --- /dev/null +++ b/net-misc/ncp/ncp-1.2.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="utility for copying files in a LAN (npoll, npush)" +HOMEPAGE="http://www.fefe.de/ncp/" +SRC_URI="http://dl.fefe.de/${P}.tar.bz2" + +LICENSE="public-domain" # mail from author, bug 446540 +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="diet" + +RDEPEND="" +DEPEND=">=dev-libs/libowfat-0.28-r1 + diet? ( dev-libs/dietlibc )" + +src_prepare() { + 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 +} -- cgit v1.2.3