You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
606 B
33 lines
606 B
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
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
|
|
}
|