mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
sys-apps/toybox: Bump
Package-Manager: Portage-2.3.4, Repoman-2.3.2
This commit is contained in:
@@ -3,3 +3,4 @@ DIST toybox-0.6.1.tar.gz 736371 SHA256 122ceb30c6ca0e8b8e914a427b1aaa89715c53a3d
|
||||
DIST toybox-0.7.0.tar.gz 759570 SHA256 65428816f88ad3fe92b67df86dc05427c8078fe03843b8b9715fdfa6d29c0f97 SHA512 805d576712897f32b1f4e75b000a19a284622c040c0410ffc53e11c8ab7e3234e48cf5079a36622f03e6386acc9cbfc9ab94ba9e3e25e524ac0fa430a7d7947b WHIRLPOOL 5a4f4f35a5846891c46070dd9e520a675142d8b9ea9f33b02ff228c6a3198198a5e999b84464f985cde2bff396c4e5d2e4856b530408e5826b2e24e73d7cabba
|
||||
DIST toybox-0.7.1.tar.gz 779835 SHA256 5bb3069f58faf12940d5cfde3209ac7f63210bebdd9023979b0c20cede126ea7 SHA512 6347ce8a917e7e7f2046ae2aaefbfffe1c8aca42a4770c57dc23739de93647dc476356a4c3875a75d423bd7fd027c01a1b45627dc16f69801ef0369dbae6799b WHIRLPOOL 4c47aec665f436a9171b7fe6f4b28d8b569aea3565f27ff71b8c9cc070b2c1d5284083b0afd77557700f618cc74dcc2619df28333b1ce1b97f9599ad246951f0
|
||||
DIST toybox-0.7.2.tar.gz 798101 SHA256 79da71c7c39cef0a5f7b834f0b17d0d436e7994dd33e912f581b4c12d3b1681f SHA512 ce579be77b628a8466718c13b28390dd2988bbdd5d51b8fac5cc18125cd13968105bd991dc8bf1e6a9618e8a9c07eded361f6371e2f02f4cd7181b42c135f1ef WHIRLPOOL 63666d100880034ea9b74f0983cea2fce6e0b594e6668371d833e02a7a24d602ff5132d02d103a61fb89a5e595baf27b9c58d19d69cdced11eff8e865b0f0f0f
|
||||
DIST toybox-0.7.3.tar.gz 806773 SHA256 e6469b508224e0d2e4564dda05c4bb47aef5c28bf29d6c983bcdc6e3a0cd29d6 SHA512 8f6fcf156fbfedb706f3048b535369e235c47a40087405e54f0b0de877691c41b700b2ddd8c0d5abd6e09367f313c2eef1bc659331b2391738f6f0eefc9115fd WHIRLPOOL 5ebdfb133203405379d2d7f1cbb50e54dc23cb5e9126fb794dbdebb5d7ef43998be501c70443b1f644d7a10d70b9a185656187535a4aac4d1d5b93eb71cc5c7e
|
||||
|
||||
57
sys-apps/toybox/toybox-0.7.3.ebuild
Normal file
57
sys-apps/toybox/toybox-0.7.3.ebuild
Normal file
@@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multiprocessing savedconfig toolchain-funcs
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/gfto/toybox.git"
|
||||
else
|
||||
SRC_URI="http://landley.net/code/toybox/downloads/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
# makefile is stupid
|
||||
RESTRICT="test"
|
||||
|
||||
DESCRIPTION="Common linux commands in a multicall binary"
|
||||
HOMEPAGE="http://landley.net/code/toybox/"
|
||||
|
||||
# The source code does not explicitly say that it's BSD, but the author has repeatedly said it
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
restore_config .config
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if [ -f .config ]; then
|
||||
yes "" | emake -j1 oldconfig > /dev/null
|
||||
return 0
|
||||
else
|
||||
einfo "Could not locate user configfile, so we will save a default one"
|
||||
emake defconfig > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC STRIP
|
||||
export HOSTCC=$(tc-getBUILD_CC)
|
||||
unset CROSS_COMPILE
|
||||
export CPUS=$(makeopts_jobs)
|
||||
emake V=1
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
save_config .config
|
||||
newbin generated/unstripped/toybox toybox
|
||||
}
|
||||
Reference in New Issue
Block a user