Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/toybox: toybox-0.6.0.ebuild ChangeLog
Date: Thu, 23 Jul 2015 06:10:25
Message-Id: 20150723061015.5C863BB@oystercatcher.gentoo.org
1 patrick 15/07/23 06:10:15
2
3 Modified: ChangeLog
4 Added: toybox-0.6.0.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.10 sys-apps/toybox/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/toybox/ChangeLog?rev=1.10&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/toybox/ChangeLog?rev=1.10&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/toybox/ChangeLog?r1=1.9&r2=1.10
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/toybox/ChangeLog,v
20 retrieving revision 1.9
21 retrieving revision 1.10
22 diff -u -r1.9 -r1.10
23 --- ChangeLog 27 Apr 2015 03:01:26 -0000 1.9
24 +++ ChangeLog 23 Jul 2015 06:10:15 -0000 1.10
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-apps/toybox
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/toybox/ChangeLog,v 1.9 2015/04/27 03:01:26 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/toybox/ChangeLog,v 1.10 2015/07/23 06:10:15 patrick Exp $
30 +
31 +*toybox-0.6.0 (23 Jul 2015)
32 +
33 + 23 Jul 2015; Patrick Lauer <patrick@g.o> +toybox-0.6.0.ebuild:
34 + Bump
35
36 27 Apr 2015; Patrick Lauer <patrick@g.o> toybox-9999.ebuild:
37 Fix git repository location #547504
38
39
40
41 1.1 sys-apps/toybox/toybox-0.6.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/toybox/toybox-0.6.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/toybox/toybox-0.6.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: toybox-0.6.0.ebuild
47 ===================================================================
48 # Copyright 1999-2015 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-apps/toybox/toybox-0.6.0.ebuild,v 1.1 2015/07/23 06:10:15 patrick Exp $
51
52 EAPI=5
53
54 inherit eutils multiprocessing savedconfig toolchain-funcs
55
56 if [[ ${PV} == 9999 ]]; then
57 inherit git-r3
58 EGIT_REPO_URI="https://github.com/gfto/toybox.git"
59 else
60 SRC_URI="http://landley.net/code/toybox/downloads/${P}.tar.gz"
61 KEYWORDS="~amd64 ~x86"
62 fi
63
64 # makefile is stupid
65 RESTRICT="test"
66
67 DESCRIPTION="Common linux commands in a multicall binary"
68 HOMEPAGE="http://landley.net/code/toybox/"
69
70 # The source code does not explicitly say that it's BSD, but the author has repeatedly said it
71 LICENSE="BSD-2"
72 SLOT="0"
73 IUSE=""
74
75 S=${WORKDIR}
76
77 src_prepare() {
78 epatch_user
79 restore_config .config
80 }
81
82 src_configure() {
83 if [ -f .config ]; then
84 yes "" | emake -j1 oldconfig > /dev/null
85 return 0
86 else
87 einfo "Could not locate user configfile, so we will save a default one"
88 emake defconfig > /dev/null
89 fi
90 }
91
92 src_compile() {
93 tc-export CC STRIP
94 export HOSTCC=$(tc-getBUILD_CC)
95 unset CROSS_COMPILE
96 export CPUS=$(makeopts_jobs)
97 emake V=1
98 }
99
100 src_test() {
101 emake test
102 }
103
104 src_install() {
105 save_config .config
106 newbin toybox_unstripped toybox
107 }