patrick 14/08/29 02:34:41 Modified: ChangeLog Added: toybox-0.4.9-r1.ebuild Log: Improved ebuild, using savedconfig and some other nice bits, thanks to jbergstroem (Portage version: 2.2.12/cvs/Linux x86_64, unsigned Manifest commit)
Revision Changes Path 1.4 sys-apps/toybox/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/toybox/ChangeLog?rev=1.4&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/toybox/ChangeLog?rev=1.4&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/toybox/ChangeLog?r1=1.3&r2=1.4 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-apps/toybox/ChangeLog,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- ChangeLog 9 Jul 2014 08:03:00 -0000 1.3 +++ ChangeLog 29 Aug 2014 02:34:41 -0000 1.4 @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/toybox # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/toybox/ChangeLog,v 1.3 2014/07/09 08:03:00 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/toybox/ChangeLog,v 1.4 2014/08/29 02:34:41 patrick Exp $ + +*toybox-0.4.9-r1 (29 Aug 2014) + + 29 Aug 2014; Patrick Lauer <[email protected]> +toybox-0.4.9-r1.ebuild: + Improved ebuild, using savedconfig and some other nice bits, thanks to + jbergstroem *toybox-0.4.9 (09 Jul 2014) 1.1 sys-apps/toybox/toybox-0.4.9-r1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/toybox/toybox-0.4.9-r1.ebuild?rev=1.1&view=markup 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 Index: toybox-0.4.9-r1.ebuild =================================================================== # 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-0.4.9-r1.ebuild,v 1.1 2014/08/29 02:34:41 patrick Exp $ EAPI=5 inherit eutils savedconfig toolchain-funcs # makefile is stupid RESTRICT="test" DESCRIPTION="Common linux commands in a multicall binary" HOMEPAGE="http://landley.net/code/toybox/" SRC_URI="http://landley.net/code/toybox/downloads/${P}.tar.bz2" # The source code does not explicitly say that it's BSD, but the author has repeatedly said it LICENSE="BSD-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" src_prepare() { sed -i -e 's/LOCALE/LC_ALL/' scripts/make.sh || die restore_config .config export CC="$(tc-getCC)" export HOSTCC="$(tc-getCC)" } src_configure() { if [ -f .config ]; then yes "" | emake -j1 oldconfig > /dev/null return 0 else ewarn "Could not locate user configfile, so we will save a default one" emake defconfig > /dev/null fi } src_compile() { emake toybox_unstripped V=1 } src_test() { emake test } src_install() { save_config .config newbin toybox_unstripped toybox }
