blob: 32d8c4c261dc897d9b08da21fdc164918a006b13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/toybox/toybox-9999.ebuild,v 1.1 2014/04/01 04:09:36 patrick Exp $
EAPI=5
inherit eutils git-r3
DESCRIPTION="Common linux commands in a multicall binary"
HOMEPAGE="http://landley.net/code/toybox/"
EGIT_REPO_URI="https://github.com/gfto/toybox.git"
# The source code does not explicitly say that it's BSD, but the author has repeatedly said it
LICENSE="BSD-2"
SLOT="0"
KEYWORDS=""
IUSE=""
src_configure() {
make defconfig || die
}
src_compile() {
emake || die
}
src_test() {
emake test || die
}
src_install() {
mkdir -p "${D}/usr/bin"
cp toybox "${D}/usr/bin" || die
}
|