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.
30 lines
616 B
30 lines
616 B
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
|
|
inherit eutils toolchain-funcs
|
|
|
|
DESCRIPTION="TFTP client suitable for uploading to the Linksys WRT54G Wireless Router"
|
|
HOMEPAGE="https://www.redsand.net/solutions/linksys_tftp.html"
|
|
SRC_URI="https://www.redsand.net/solutions/${P}.tar.bz2"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~ppc x86"
|
|
IUSE=""
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}"/${P}-r1-header.patch
|
|
epatch "${FILESDIR}"/${P}-r1-Makefile.patch
|
|
}
|
|
|
|
src_compile() {
|
|
emake CC="$(tc-getCC)"
|
|
}
|
|
|
|
src_install() {
|
|
dobin linksys-tftp
|
|
dodoc README
|
|
}
|