summaryrefslogtreecommitdiff
blob: 21888a9ecfad8a9585043958937d1820209faeca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/mindi-busybox/mindi-busybox-1.7.3.ebuild,v 1.2 2008/03/13 11:08:31 wschlich Exp $

inherit eutils flag-o-matic

DESCRIPTION="A special version of busybox used by mindi"
HOMEPAGE="http://www.mondorescue.org"
SRC_URI="ftp://ftp.mondorescue.org/src/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ia64 ~amd64"
DEPEND="virtual/libc"
RDEPEND=">=app-arch/bzip2-0.9
		sys-devel/binutils"

src_compile() {
	make oldconfig > /dev/null
	# work around broken ass powerpc compilers
	emake EXTRA_CFLAGS="${CFLAGS}" busybox || die "build failed"
}

src_install() {
	# bundle up the symlink files for use later
	emake CONFIG_PREFIX="${D}/usr/lib/mindi/rootfs" install || die
}