# SliTaz package receipt.

PACKAGE="elilo"
VERSION="3.10"
CATEGORY="system-tools"
SHORT_DESC="The EFI linux boot loader."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://elilo.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
BUILD_DEPENDS="gnu-efi"
# See http://mactel-linux.sourceforge.net/wiki/Main_Page
#     genisoimage -boot-hfs-file

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	make -j1
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/lib/elilo $fs/usr/sbin
	cp -a $src/elilo.efi $fs/usr/lib/elilo
	cp -a $src/tools/eliloalt $fs/usr/sbin
}