summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-cdr/cdw/cdw-0.2.3.ebuild')
-rw-r--r--app-cdr/cdw/cdw-0.2.3.ebuild14
1 files changed, 11 insertions, 3 deletions
diff --git a/app-cdr/cdw/cdw-0.2.3.ebuild b/app-cdr/cdw/cdw-0.2.3.ebuild
index 30d3212ac186..375ffdf86d5b 100644
--- a/app-cdr/cdw/cdw-0.2.3.ebuild
+++ b/app-cdr/cdw/cdw-0.2.3.ebuild
@@ -1,13 +1,14 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdw/cdw-0.2.3.ebuild,v 1.1 2005/01/31 06:58:16 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdw/cdw-0.2.3.ebuild,v 1.2 2005/03/26 06:35:24 mr_bones_ Exp $
inherit eutils
MY_P=${PN}-${PV/_/-}
DESCRIPTION="gtk2 and ncurses-based console frontend to cdrecord and mkisofs"
HOMEPAGE="http://cdw.sourceforge.net"
-SRC_URI="mirror://sourceforge/cdw/${PN}-${PV/_/-}.tar.gz"
+SRC_URI="mirror://sourceforge/cdw/${PN}-${PV/_/-}.tar.gz
+ mirror://debian/pool/main/c/cdw/${PN}_${PV}-3.diff.gz"
KEYWORDS="~x86"
LICENSE="GPL-2"
@@ -29,6 +30,13 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${WORKDIR}/${PN}_${PV}-3.diff"
+ aclocal && automake -a && autoconf || die "autotools failed"
+}
+
src_compile() {
local myconf
@@ -62,7 +70,7 @@ src_install() {
fi
# clean up the docs installed with make install
- rm -rf ${D}/usr/share/doc/${PN}
+ rm -rf "${D}/usr/share/doc/${PN}"
if use gtk ; then
make_desktop_entry cdw CDW cdw.png
doicon pixmaps/cdw.png