summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-09-15 20:40:18 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-09-15 20:40:18 +0000
commit6240e209dd5c3a1e426afe97c15dd6a8d030f632 (patch)
treeaa8ae360fd2390b9f314a79f2f4dd60e7ac3a636 /app-cdr/mode2cdmaker
parentMark 0.7.43.20050224-r1 stable on alpha (diff)
downloadgentoo-2-6240e209dd5c3a1e426afe97c15dd6a8d030f632.tar.gz
gentoo-2-6240e209dd5c3a1e426afe97c15dd6a8d030f632.tar.bz2
gentoo-2-6240e209dd5c3a1e426afe97c15dd6a8d030f632.zip
needs app-arch/unzip; tidy
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-cdr/mode2cdmaker')
-rw-r--r--app-cdr/mode2cdmaker/ChangeLog6
-rw-r--r--app-cdr/mode2cdmaker/mode2cdmaker-1.5.1.ebuild25
2 files changed, 22 insertions, 9 deletions
diff --git a/app-cdr/mode2cdmaker/ChangeLog b/app-cdr/mode2cdmaker/ChangeLog
index 13f732770b6e..86031306ced5 100644
--- a/app-cdr/mode2cdmaker/ChangeLog
+++ b/app-cdr/mode2cdmaker/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-cdr/mode2cdmaker
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/mode2cdmaker/ChangeLog,v 1.1 2005/04/05 12:15:38 pylon Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/mode2cdmaker/ChangeLog,v 1.2 2005/09/15 20:40:18 mr_bones_ Exp $
+
+ 15 Sep 2005; Michael Sterrett <mr_bones_@gentoo.org>
+ mode2cdmaker-1.5.1.ebuild:
+ needs app-arch/unzip; tidy
*mode2cdmaker-1.5.1 (05 Apr 2005)
diff --git a/app-cdr/mode2cdmaker/mode2cdmaker-1.5.1.ebuild b/app-cdr/mode2cdmaker/mode2cdmaker-1.5.1.ebuild
index e956fcbf4901..68c74e984d5c 100644
--- a/app-cdr/mode2cdmaker/mode2cdmaker-1.5.1.ebuild
+++ b/app-cdr/mode2cdmaker/mode2cdmaker-1.5.1.ebuild
@@ -1,25 +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/mode2cdmaker/mode2cdmaker-1.5.1.ebuild,v 1.2 2005/04/05 12:17:04 pylon Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/mode2cdmaker/mode2cdmaker-1.5.1.ebuild,v 1.3 2005/09/15 20:40:18 mr_bones_ Exp $
DESCRIPTION="Utility to create mode-2 CDs, for example XCDs."
HOMEPAGE="http://webs.ono.com/usr016/de_xt/mcf.html"
SRC_URI="http://dext.peque.org/xcd/${P}-src.zip"
+
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~ppc"
+KEYWORDS="~ppc ~x86"
IUSE=""
-DEPEND=""
+
+DEPEND="app-arch/unzip"
+RDEPEND=""
+
S=${WORKDIR}
-src_compile() {
- sed -e 's:gcc -c:gcc $(CFLAGS) -DMAX_PATH=512 -c:g' < Makefile.linux > Makefile
- sed -i 's:lstrlen:strlen:g' mkvcdfs.c
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -e 's:gcc -c:gcc $(CFLAGS) -DMAX_PATH=512 -c:g' \
+ Makefile.linux > Makefile || die "sed failed"
+ sed -i -e 's:lstrlen:strlen:g' mkvcdfs.c || die "sed failed"
+}
- emake || die
+src_compile() {
+ emake || die "emake failed"
}
src_install() {
- dobin mode2cdmaker
+ dobin mode2cdmaker || die "dobin failed"
dodoc bugs.txt compatibility.txt readme.txt
}