diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-10-23 10:34:00 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-10-23 10:34:37 +0200 |
commit | 3311ad27a34632ddbb2040aba6fd3bc530ba2462 (patch) | |
tree | f26d5107ec5f048d456c2e1f824354404630b551 /net-analyzer/netselect/netselect-0.3-r4.ebuild | |
parent | net-analyzer/netselect: Respect CC, use CFLAGS while linking (diff) | |
download | gentoo-3311ad27a34632ddbb2040aba6fd3bc530ba2462.tar.gz gentoo-3311ad27a34632ddbb2040aba6fd3bc530ba2462.tar.bz2 gentoo-3311ad27a34632ddbb2040aba6fd3bc530ba2462.zip |
net-analyzer/netselect: Old
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/netselect/netselect-0.3-r4.ebuild')
-rw-r--r-- | net-analyzer/netselect/netselect-0.3-r4.ebuild | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/net-analyzer/netselect/netselect-0.3-r4.ebuild b/net-analyzer/netselect/netselect-0.3-r4.ebuild deleted file mode 100644 index 59c62667dfa8..000000000000 --- a/net-analyzer/netselect/netselect-0.3-r4.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils flag-o-matic toolchain-funcs - -DESCRIPTION="Ultrafast implementation of ping" -HOMEPAGE="http://apenwarr.ca/netselect/" -SRC_URI="${HOMEPAGE}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" - -S=${WORKDIR}/${PN} - -src_prepare() { - epatch \ - "${FILESDIR}/${P}-bsd.patch" \ - "${FILESDIR}/${P}-glibc.patch" - - sed -i \ - -e "s:PREFIX =.*:PREFIX = ${ED}usr:" \ - -e "s:CFLAGS =.*:CFLAGS = -Wall -I. ${CFLAGS}:" \ - -e "s:LDFLAGS =.*:LDFLAGS = ${LDFLAGS}:" \ - -e '23,27d' \ - -e '34d' \ - Makefile || die -} - -src_compile() { - emake CC="$(tc-getCC)" -} - -src_install () { - dobin netselect - if ! use prefix ; then - fowners root:wheel /usr/bin/netselect - fperms 4711 /usr/bin/netselect - fi - dodoc ChangeLog HISTORY README* -} |