| 1 |
# Copyright 1999-2010 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-cdr/binflash/binflash-1.50b.ebuild,v 1.1 2010/06/03 14:17:25 beandog Exp $ |
| 4 |
|
| 5 |
MY_PN=${PN/bin/nec} |
| 6 |
|
| 7 |
DESCRIPTION="Tool to flash DVD burner with a binary firmware file" |
| 8 |
HOMEPAGE="http://binflash.cdfreaks.com" |
| 9 |
SRC_URI="http://binflash.cdfreaks.com/download/1/2/${MY_PN}_linux.tgz" |
| 10 |
|
| 11 |
LICENSE="as-is" |
| 12 |
SLOT="0" |
| 13 |
KEYWORDS="~amd64 ~x86" |
| 14 |
IUSE="" |
| 15 |
|
| 16 |
RESTRICT="fetch strip" |
| 17 |
|
| 18 |
pkg_nofetch() { |
| 19 |
elog "We cannot download this file for your due to license restrictions." |
| 20 |
elog "Please visit ${HOMEPAGE} and download ${A} into ${DISTDIR}." |
| 21 |
} |
| 22 |
|
| 23 |
src_install() { |
| 24 |
into /opt |
| 25 |
dobin ${MY_PN} || die "dobin failed." |
| 26 |
} |