blob: c00df832a11567bd85ac5f341961534a53458c1f (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/mknbi/mknbi-1.2.11.ebuild,v 1.1 2002/12/25 18:37:12 mholzer Exp $
DESCRIPTION="Utility for making tagged kernel images useful for netbooting"
HOMEPAGE="http://etherboot.sourceforge.net"
LICENSE="GPL2"
SLOT="0"
SRC_FILE="mknbi-1.2.tar.gz"
SRC_URI="mirror://sourceforge/etherboot/${SRC_FILE}"
KEYWORDS="x86"
IUSE="perl"
DEPEND=">=perl-5.6.1
dev-lang/nasm"
# Run-time dependencies, same as DEPEND if RDEPEND isn't defined:
#RDEPEND=""
S="${WORKDIR}/mknbi-1.2"
src_unpack() {
unpack ${A}
cd ${S}
echo "test" > __abcdir
mv Makefile Makefile.org
cat Makefile.org | sed s/"\/usr\/local"/"\/usr"/ > Makefile
}
src_compile()
{
make all || die
}
src_install()
{
export BUILD_ROOT=${D}
make install || die
}
|