blob: 7836f8db4269750cebb43094300896f09d1cf259 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/socket/socket-1.5.ebuild,v 1.1 2013/02/04 21:09:13 pinkbyte Exp $
EAPI=5
inherit base toolchain-funcs
DESCRIPTION="A shell-level interface to TCP sockets"
HOMEPAGE="http://www.jnickelsen.de/socket/"
SRC_URI="http://www.jnickelsen.de/${PN}/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
IUSE="examples"
PATCHES=( "${FILESDIR}/${P}-makefile.patch" )
src_compile() {
emake CC="$(tc-getCC)"
}
src_install() {
dobin socket
doman socket.1
dodoc BLURB CHANGES README
if use examples; then
docinto examples
dodoc scripts/*
fi
}
|