|
Line 0
Link Here
|
|
|
1 |
# Copyright 1999-2018 Gentoo Authors |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
|
| 4 |
EAPI=7 |
| 5 |
|
| 6 |
inherit toolchain-funcs |
| 7 |
|
| 8 |
DESCRIPTION="Tool to create very small elf binary from pure binary files" |
| 9 |
HOMEPAGE="http://sed.free.fr/tinlink/" |
| 10 |
SRC_URI="http://sed.free.fr/tinlink/${P}.tar.gz" |
| 11 |
|
| 12 |
LICENSE="public-domain" |
| 13 |
SLOT="0" |
| 14 |
KEYWORDS="~amd64 ~ppc ~x86" |
| 15 |
|
| 16 |
src_prepare() { |
| 17 |
default |
| 18 |
rm -f "${S}"/Makefile || die |
| 19 |
} |
| 20 |
|
| 21 |
src_compile() { |
| 22 |
emake CC="$(tc-getCC)" tinlink |
| 23 |
} |
| 24 |
|
| 25 |
src_install() { |
| 26 |
dobin tinlink |
| 27 |
dodoc AUTHORS README example.asm |
| 28 |
} |