| # Copyright 1999-2015 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Id$ |
| |
| 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 |
| } |