summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-02 04:32:47 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-02 04:32:47 +0000
commit810baca7406fa45d1bf9d4fb5d45127c49efdaed (patch)
tree6f5253dfbc2274f83205e56fab1d35bc3205c0a1 /app-cdr/bin2iso/bin2iso-19b-r2.ebuild
parentAdded missing digest entries. (diff)
downloadgentoo-2-810baca7406fa45d1bf9d4fb5d45127c49efdaed.tar.gz
gentoo-2-810baca7406fa45d1bf9d4fb5d45127c49efdaed.tar.bz2
gentoo-2-810baca7406fa45d1bf9d4fb5d45127c49efdaed.zip
Fix segfaults due to lack of error checking #90540 by Tiago Freire.
(Portage version: 2.0.51.20-r5)
Diffstat (limited to 'app-cdr/bin2iso/bin2iso-19b-r2.ebuild')
-rw-r--r--app-cdr/bin2iso/bin2iso-19b-r2.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/app-cdr/bin2iso/bin2iso-19b-r2.ebuild b/app-cdr/bin2iso/bin2iso-19b-r2.ebuild
new file mode 100644
index 000000000000..f4974d47f838
--- /dev/null
+++ b/app-cdr/bin2iso/bin2iso-19b-r2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/bin2iso/bin2iso-19b-r2.ebuild,v 1.1 2005/05/02 04:32:47 vapier Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="converts RAW format (.bin/.cue) files to ISO/WAV format"
+HOMEPAGE="http://users.andara.com/~doiron/bin2iso/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc sparc x86"
+IUSE=""
+
+DEPEND=""
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ edos2unix *.c
+ epatch "${FILESDIR}"/${P}-sanity-checks.patch
+}
+
+src_compile() {
+ $(tc-getCC) bin2iso19b_linux.c -o ${PN} ${CFLAGS} ${LDFLAGS} || die "compile failed"
+}
+
+src_install() {
+ dobin ${PN} || die "dobin failed"
+ dodoc readme.txt
+}