/[gentoo-x86]/net-misc/ncp/ncp-1.2.4.ebuild
Gentoo

Contents of /net-misc/ncp/ncp-1.2.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue May 29 05:24:21 2012 UTC (2 years, 1 month ago) by xmw
Branch: MAIN
Changes since 1.3: +2 -2 lines
Fix dev-libs/libowfat dependency.

(Portage version: 2.1.10.63/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/ncp/ncp-1.2.4.ebuild,v 1.3 2012/05/25 09:45:13 xmw Exp $
4
5 EAPI=4
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="utility for copying files in a LAN (npoll, npush)"
10 HOMEPAGE="http://www.fefe.de/ncp/"
11 SRC_URI="http://dl.fefe.de/${P}.tar.bz2"
12
13 LICENSE="as-is"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="diet"
17
18 RDEPEND=""
19 DEPEND=">=dev-libs/libowfat-0.28-r1
20 diet? ( dev-libs/dietlibc )"
21
22 src_prepare() {
23 rm Makefile || die
24 sed -e '/^ncp:/,+5s:strip:#strip:' \
25 -i GNUmakefile || die
26 }
27
28 src_compile() {
29 emake \
30 CC="$(use diet && echo "diet -Os ")$(tc-getCC)" \
31 CFLAGS="${CFLAGS} -I/usr/include/libowfat" \
32 LDFLAGS="${LDFLAGS}" \
33 STRIP="#"
34 }
35
36 src_install() {
37 dobin ${PN}
38 dosym ${PN} /usr/bin/npoll
39 dosym ${PN} /usr/bin/npush
40
41 doman ncp.1 npush.1
42 dodoc NEWS
43 }

  ViewVC Help
Powered by ViewVC 1.1.20