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.
gentoo-overlay/net-analyzer/tcping/tcping-1.3.5.ebuild

31 lines
597 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
inherit toolchain-funcs
DESCRIPTION="Ping implementation that uses the TCP protocol"
HOMEPAGE="http://www.linuxco.de/tcping/tcping.html"
SRC_URI="http://www.linuxco.de/tcping/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
src_prepare() {
sed -e '/^CC=/s:=:?=:' \
-e '/^CCFLAGS/s:=:+=:' \
-e 's/$(CCFLAGS)/$(CCFLAGS) $(LDFLAGS)/' \
-i Makefile || die
tc-export CC
export CCFLAGS="${CFLAGS}"
}
src_install() {
dobin tcping
dodoc README
}