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-misc/pipes/pipes-1.16.1.ebuild

38 lines
912 B

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/pipes/pipes-1.16.1.ebuild,v 1.3 2011/12/15 16:23:31 ago Exp $
EAPI="3"
inherit toolchain-funcs
DESCRIPTION="Very versatile TCP pipes"
HOMEPAGE="http://bisqwit.iki.fi/source/pipes.html"
SRC_URI="http://bisqwit.iki.fi/src/arch/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~s390 ~x86"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}
>=sys-apps/sed-4"
src_prepare() {
#sed -i Makefile -e 's:-O2:$(CFLAGS):' || die
# Prevent the build system from looking for dependencies
touch .depend || die
}
src_compile() {
emake CC=$(tc-getCC) OPTIM="${CFLAGS}" LDFLAGS="${CFLAGS} ${LDFLAGS}" || die
}
src_install() {
dobin plis || die "dobin failed"
dohard /usr/bin/plis /usr/bin/pcon || die "dohard failed"
dodoc Examples ChangeLog
dohtml README.html
}