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