Last change
on this file since 2438 was 1805, checked in by Bruno Cornec, 11 years ago |
- mindi-busybox is now built fully under /usr and packge build call the
new post install script
|
File size:
756 bytes
|
Rev | Line | |
---|
[384] | 1 | # Copyright 1999-2006 Gentoo Foundation
|
---|
| 2 | # Distributed under the terms of the GNU General Public License v2
|
---|
| 3 | # $Id$
|
---|
| 4 |
|
---|
| 5 | inherit eutils flag-o-matic
|
---|
| 6 |
|
---|
[1195] | 7 | DESCRIPTION="PBSUMMARY"
|
---|
| 8 | HOMEPAGE="PBURL"
|
---|
[1202] | 9 | SRC_URI="PBREPO/src/${P}.tar.gz"
|
---|
[384] | 10 | LICENSE="GPL-2"
|
---|
| 11 | SLOT="0"
|
---|
| 12 | KEYWORDS="~x86 ~ia64 ~amd64 -*"
|
---|
| 13 | DEPEND="virtual/libc"
|
---|
| 14 | RDEPEND=">=app-arch/bzip2-0.9
|
---|
| 15 | sys-devel/binutils"
|
---|
[1805] | 16 | export DESTDIR="${D}/usr/lib/mindi/rootfs"
|
---|
[384] | 17 |
|
---|
| 18 | src_unpack() {
|
---|
| 19 | unpack ${A} || die "Failed to unpack ${A}"
|
---|
| 20 | cd ${P}
|
---|
| 21 | make oldconfig > /dev/null
|
---|
| 22 | }
|
---|
| 23 |
|
---|
| 24 | src_compile() {
|
---|
| 25 | # work around broken ass powerpc compilers
|
---|
| 26 | emake EXTRA_CFLAGS="${CFLAGS}" busybox || die "build failed"
|
---|
| 27 | }
|
---|
| 28 |
|
---|
| 29 | src_install() {
|
---|
| 30 | # bundle up the symlink files for use later
|
---|
[1805] | 31 | emake CONFIG_PREFIX="${DESTDIR}" install || die
|
---|
| 32 | ./mondo-install.sh || die
|
---|
[384] | 33 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.