summaryrefslogtreecommitdiff
blob: 89f3410b81935c4b985ac8904004bf3e5178bac2 (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-boot/winusb/winusb-1.0.11.ebuild,v 1.1 2014/05/11 14:29:45 yac Exp $

EAPI=5

DESCRIPTION="Creates windows installer on usb media from an iso image"
HOMEPAGE="http://en.congelli.eu/prog_info_winusb.html"
SRC_URI="http://en.congelli.eu/directdl/${PN}/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="sys-apps/sed"
RDEPEND="${DEPEND}
	sys-apps/coreutils
	sys-apps/grep
	sys-apps/util-linux
	sys-block/parted
	sys-boot/grub:2
	sys-fs/ntfs3g
"

src_prepare() {
	sed -i "s#grub-install#grub2-install#" src/winusb ||
		die "sed failed"
}

src_compile() {
	return; # noop
}

src_configure() {
	return; # noop
}

src_install() {
	dosbin src/winusb
}