sys-libs/libbb: prune dead package

This commit is contained in:
Andrew Jeddeloh 2018-01-30 11:42:49 -08:00
parent b22fde5eb0
commit 1b91bc69c2
3 changed files with 0 additions and 58 deletions

View File

@ -1 +0,0 @@
DIST busybox-1.19.0.tar.bz2 2168657 RMD160 07c8c313d8ed7edcf8f12fe805389c96bda3dae2 SHA1 70569f23751640d9ac7fc2aa49b29e6cd274be6d SHA256 19cf44a096d7796800780d6344c4cc5054dac9f50d1c9b7a5c506c4777f7620c

View File

@ -1,53 +0,0 @@
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
inherit toolchain-funcs flag-o-matic cros-au
MY_P=busybox-${PV/_/-}
DESCRIPTION="library for busybox - libbb.a"
HOMEPAGE="http://www.busybox.net/"
SRC_URI="http://www.busybox.net/downloads/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE="32bit_au"
S=${WORKDIR}/${MY_P}
busybox_config_option() {
case $1 in
y) sed -i -e "s:.*\<CONFIG_$2\>.*set:CONFIG_$2=y:g" .config;;
n) sed -i -e "s:CONFIG_$2=y:# CONFIG_$2 is not set:g" .config;;
*) use $1 \
&& busybox_config_option y $2 \
|| busybox_config_option n $2
return 0
;;
esac
einfo $(grep "CONFIG_$2[= ]" .config || echo Could not find CONFIG_$2 ...)
}
src_configure() {
emake allnoconfig > /dev/null
busybox_config_option y DD
busybox_config_option y RM
busybox_config_option y DD_IBS_OBS
}
src_compile() {
use 32bit_au && board_setup_32bit_au_env
tc-export CC AR RANLIB
emake CC="${CC}" AR="${AR}" RANLIB="${RANLIB}" libbb/lib.a
# Add the list of utils we need. Unused symbols will be stripped
cp libbb/lib.a libbb/libbb.a || die
$AR rc libbb/libbb.a coreutils/{dd,rm}.o || die
}
src_install() {
dolib.a libbb/libbb.a
insinto /usr/include
doins include/libbb.h
}

View File

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
</pkgmetadata>