mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
net-misc/snarf: drop 7.0-r4
Signed-off-by: Filip Kobierski <fkobi@pm.me> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
committed by
Andreas Sturmlechner
parent
8f34589763
commit
2b2dd8d484
@@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Small and fast CLI resource grabber for http, gopher, finger, ftp"
|
||||
HOMEPAGE="https://www.xach.com/snarf/"
|
||||
SRC_URI="https://www.xach.com/snarf/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~alpha amd64 ppc sparc x86"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/snarf-basename-patch.diff
|
||||
"${FILESDIR}"/snarf-unlink-empty.diff
|
||||
"${FILESDIR}"/snarf-fix-off-by-ones.diff
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin snarf
|
||||
doman snarf.1
|
||||
dodoc ChangeLog README TODO
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog 'To use snarf with portage, try these settings in your make.conf'
|
||||
elog
|
||||
elog ' FETCHCOMMAND="/usr/bin/snarf -b \${URI} \${DISTDIR}/\${FILE}"'
|
||||
elog ' RESUMECOMMAND="/usr/bin/snarf -rb \${URI} \${DISTDIR}/\${FILE}"'
|
||||
}
|
||||
Reference in New Issue
Block a user