summaryrefslogtreecommitdiff
blob: 2384cf1e9d9164e48c8c90d65d0a89c563c3d9d0 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/biosdisk/biosdisk-0.75.2.ebuild,v 1.2 2010/03/22 18:14:42 jlec Exp $

inherit versionator

MY_PV=$(replace_version_separator 2 '-')
S=${WORKDIR}/${PN}-$(get_version_component_range 1-2)
DESCRIPTION="A script that creates floppy boot images to flash Dell BIOSes"
HOMEPAGE="http://linux.dell.com/projects.shtml#biosdisk"
SRC_URI="http://linux.dell.com/biosdisk/${PN}-${MY_PV}.tar.gz"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
	|| ( app-text/unix2dos >=app-text/dos2unix-5.0 )
	sys-boot/syslinux"

src_install() {
	dosbin biosdisk blconf || die

	dodoc AUTHORS README README.dosdisk TODO VERSION || die
	doman biosdisk.8.gz || die

	insinto /usr/share/biosdisk
	doins dosdisk.img biosdisk-mkrpm-{redhat,generic}-template.spec || die

	insinto /etc
	doins biosdisk.conf || die
}