# Copyright 1999-2003 Kevin Korb # $Header: # This is an emulator for the HP48 series calculator. inherit flag-o-matic eutils IUSE="" DESCRIPTION="A set of boot floppies that can be booted from GRUB" SRC_URI="${P}.tar.bz2" HOMEPAGE="http://www.sanitarium.net/" SLOT="1" LICENSE="unknown" KEYWORDS="x86" DEPEND="dev-lang/perl sys-boot/syslinux" src_unpack() { unpack ${P}.tar.bz2 cd ${S} } src_compile() { einfo "Nothing to compile here." } src_install () { cd ${S} dodir /usr dodir /usr/bin dodir /usr/lib dodir /usr/lib/bootfloppies into /usr dobin grub-config-bootfloppies.pl insinto /usr/lib/bootfloppies doins *.igz chmod 700 ${D}/usr/bin/grub-config-bootfloppies.pl chmod 700 ${D}/usr/lib/bootfloppies chmod 600 ${D}/usr/lib/bootfloppies/* } pkg_postinst () { ewarn "NOTE: You must merge the appropriate boot choices into your grub" ewarn "config for this to work." ewarn "You can run grub-config-bootfloppies.pl to auto-generate a sample" ewarn "config file that can be merged easily." }