/[gentoo-x86]/net-misc/netpipes/netpipes-4.2-r1.ebuild
Gentoo

Contents of /net-misc/netpipes/netpipes-4.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Jul 18 19:53:46 2014 UTC (3 years, 11 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Use dodir instead of mkdir.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/netpipes/netpipes-4.2-r1.ebuild,v 1.4 2013/11/29 16:34:26 jer Exp $
4
5 EAPI="2"
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="netpipes - a package to manipulate BSD TCP/IP stream sockets"
10 HOMEPAGE="http://web.purplefrog.com/~thoth/netpipes/"
11 SRC_URI="http://web.purplefrog.com/~thoth/netpipes/ftp/${P}-export.tar.gz"
12 LICENSE="GPL-2"
13
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE=""
17
18 S="${WORKDIR}/${P}-export"
19
20 src_prepare() {
21 sed -i \
22 -e 's/CFLAGS =/CFLAGS +=/' \
23 -e '/ -o /s:${CFLAGS}:& $(LDFLAGS):g' \
24 Makefile || die "sed failed"
25
26 epatch "${FILESDIR}/${P}-string.patch"
27 }
28
29 src_compile () {
30 emake CC=$(tc-getCC) || die
31 }
32
33 src_install() {
34 mkdir -p "${D}"/usr/share/man || die
35 emake INSTROOT="${D}"/usr INSTMAN="${D}"/usr/share/man install || die
36 }

  ViewVC Help
Powered by ViewVC 1.1.20