| 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/bin2iso/bin2iso-19b-r2.ebuild,v 1.3 2008/01/25 21:07:36 grobian Exp $
|
| 4 |
|
| 5 |
inherit eutils toolchain-funcs
|
| 6 |
|
| 7 |
DESCRIPTION="converts RAW format (.bin/.cue) files to ISO/WAV format"
|
| 8 |
HOMEPAGE="http://users.andara.com/~doiron/bin2iso/"
|
| 9 |
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
| 10 |
|
| 11 |
LICENSE="public-domain"
|
| 12 |
SLOT="0"
|
| 13 |
KEYWORDS="alpha amd64 ppc sparc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
|
| 14 |
IUSE=""
|
| 15 |
|
| 16 |
DEPEND=""
|
| 17 |
|
| 18 |
S=${WORKDIR}/${PN}
|
| 19 |
|
| 20 |
src_unpack() {
|
| 21 |
unpack ${A}
|
| 22 |
cd "${S}"
|
| 23 |
edos2unix *.c
|
| 24 |
epatch "${FILESDIR}"/${P}-sanity-checks.patch
|
| 25 |
}
|
| 26 |
|
| 27 |
src_compile() {
|
| 28 |
$(tc-getCC) bin2iso19b_linux.c -o ${PN} ${CFLAGS} ${LDFLAGS} || die "compile failed"
|
| 29 |
}
|
| 30 |
|
| 31 |
src_install() {
|
| 32 |
dobin ${PN} || die "dobin failed"
|
| 33 |
dodoc readme.txt
|
| 34 |
}
|