1 |
patrick 14/08/29 02:34:41 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: toybox-0.4.9-r1.ebuild |
5 |
Log: |
6 |
Improved ebuild, using savedconfig and some other nice bits, thanks to jbergstroem |
7 |
|
8 |
(Portage version: 2.2.12/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.4 sys-apps/toybox/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/toybox/ChangeLog?rev=1.4&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/toybox/ChangeLog?rev=1.4&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/toybox/ChangeLog?r1=1.3&r2=1.4 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/toybox/ChangeLog,v |
20 |
retrieving revision 1.3 |
21 |
retrieving revision 1.4 |
22 |
diff -u -r1.3 -r1.4 |
23 |
--- ChangeLog 9 Jul 2014 08:03:00 -0000 1.3 |
24 |
+++ ChangeLog 29 Aug 2014 02:34:41 -0000 1.4 |
25 |
@@ -1,6 +1,12 @@ |
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.3 2014/07/09 08:03:00 patrick Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/toybox/ChangeLog,v 1.4 2014/08/29 02:34:41 patrick Exp $ |
30 |
+ |
31 |
+*toybox-0.4.9-r1 (29 Aug 2014) |
32 |
+ |
33 |
+ 29 Aug 2014; Patrick Lauer <patrick@g.o> +toybox-0.4.9-r1.ebuild: |
34 |
+ Improved ebuild, using savedconfig and some other nice bits, thanks to |
35 |
+ jbergstroem |
36 |
|
37 |
*toybox-0.4.9 (09 Jul 2014) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-apps/toybox/toybox-0.4.9-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/toybox/toybox-0.4.9-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/toybox/toybox-0.4.9-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: toybox-0.4.9-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 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.4.9-r1.ebuild,v 1.1 2014/08/29 02:34:41 patrick Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
inherit eutils savedconfig toolchain-funcs |
56 |
|
57 |
# makefile is stupid |
58 |
RESTRICT="test" |
59 |
|
60 |
DESCRIPTION="Common linux commands in a multicall binary" |
61 |
HOMEPAGE="http://landley.net/code/toybox/" |
62 |
SRC_URI="http://landley.net/code/toybox/downloads/${P}.tar.bz2" |
63 |
|
64 |
# The source code does not explicitly say that it's BSD, but the author has repeatedly said it |
65 |
LICENSE="BSD-2" |
66 |
SLOT="0" |
67 |
KEYWORDS="~x86 ~amd64" |
68 |
IUSE="" |
69 |
|
70 |
src_prepare() { |
71 |
sed -i -e 's/LOCALE/LC_ALL/' scripts/make.sh || die |
72 |
restore_config .config |
73 |
export CC="$(tc-getCC)" |
74 |
export HOSTCC="$(tc-getCC)" |
75 |
} |
76 |
|
77 |
src_configure() { |
78 |
if [ -f .config ]; then |
79 |
yes "" | emake -j1 oldconfig > /dev/null |
80 |
return 0 |
81 |
else |
82 |
ewarn "Could not locate user configfile, so we will save a default one" |
83 |
emake defconfig > /dev/null |
84 |
fi |
85 |
} |
86 |
|
87 |
src_compile() { |
88 |
emake toybox_unstripped V=1 |
89 |
} |
90 |
|
91 |
src_test() { |
92 |
emake test |
93 |
} |
94 |
|
95 |
src_install() { |
96 |
save_config .config |
97 |
newbin toybox_unstripped toybox |
98 |
} |