summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-05-06 07:21:59 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-05-06 07:21:59 +0000
commit238eb2574be1b6af17997c234d00428a1bf51249 (patch)
treef1b39899f096f9cd1c5652310e0fa3aba182ced1
parentfix #132052 (diff)
downloadgentoo-2-238eb2574be1b6af17997c234d00428a1bf51249.tar.gz
gentoo-2-238eb2574be1b6af17997c234d00428a1bf51249.tar.bz2
gentoo-2-238eb2574be1b6af17997c234d00428a1bf51249.zip
version bump
(Portage version: 2.1_pre10-r2)
-rw-r--r--app-cdr/cdw/ChangeLog7
-rw-r--r--app-cdr/cdw/cdw-0.2.4.ebuild85
-rw-r--r--app-cdr/cdw/files/digest-cdw-0.2.43
3 files changed, 94 insertions, 1 deletions
diff --git a/app-cdr/cdw/ChangeLog b/app-cdr/cdw/ChangeLog
index c52516e4fd40..cbd822056843 100644
--- a/app-cdr/cdw/ChangeLog
+++ b/app-cdr/cdw/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-cdr/cdw
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdw/ChangeLog,v 1.12 2006/04/30 22:25:36 bazik Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdw/ChangeLog,v 1.13 2006/05/06 07:21:59 mr_bones_ Exp $
+
+*cdw-0.2.4 (06 May 2006)
+
+ 06 May 2006; Michael Sterrett <mr_bones_@gentoo.org> +cdw-0.2.4.ebuild:
+ version bump
30 Apr 2006; <bazik@gentoo.org> cdw-0.2.3.ebuild:
Added ~sparc keyword.
diff --git a/app-cdr/cdw/cdw-0.2.4.ebuild b/app-cdr/cdw/cdw-0.2.4.ebuild
new file mode 100644
index 000000000000..1b90485e11d2
--- /dev/null
+++ b/app-cdr/cdw/cdw-0.2.4.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdw/cdw-0.2.4.ebuild,v 1.1 2006/05/06 07:21:59 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"
+
+KEYWORDS="~ppc ~sparc ~x86"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="encode gtk mysql nls vorbis sqlite"
+
+RDEPEND="virtual/cdrtools
+ gtk? ( >=x11-libs/gtk+-2
+ >=dev-libs/glib-2 )
+ sys-libs/ncurses
+ sys-libs/zlib
+ vorbis? ( media-libs/libvorbis )
+ sqlite? ( dev-db/sqlite )
+ mysql? ( dev-db/mysql )
+ encode? ( media-sound/lame )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ gtk? ( dev-util/pkgconfig )"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ local myconf
+
+ use vorbis \
+ && myconf="${myconf} --with-oggenc=/usr/bin/oggenc" \
+ || myconf="${myconf} $(use_with vorbis oggenc)"
+
+ use encode \
+ && myconf="${myconf} --with-lame=/usr/bin/lame" \
+ || myconf="${myconf} $(use_with encode lame)"
+
+ econf \
+ --disable-dependency-tracking \
+ ${myconf} \
+ $(use_enable nls) \
+ $(use_enable mysql) \
+ $(use_enable sqlite) \
+ $(use_enable gtk gui) || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ dodoc AUTHORS ChangeLog NEWS THANKS \
+ doc/{KNOWN_BUGS,README*,default.conf}
+
+ if use mysql || use sqlite ; then
+ insinto /usr/share/${PF}/
+ doins doc/cdw.sql || die "doins failed"
+ fi
+
+ # clean up the docs installed with make install
+ rm -rf "${D}/usr/share/doc/${PN}"
+ if use gtk ; then
+ make_desktop_entry cdw CDW cdw.png
+ doicon pixmaps/cdw.png
+ fi
+}
+
+pkg_postinst() {
+ if use mysql || use sqlite ; then
+ echo
+ einfo "You have chosen, either by selecting 'USE=mysql' or 'USE=sqlite'"
+ einfo "to install Disk Catalog support."
+ einfo "You will have a new tool called cdwdic."
+ echo
+ einfo "The directory /usr/share/${PF}/"
+ einfo "contains a cdw.sql file. You must install this to your system"
+ einfo "for using the Disk Catalog. The installation process is very"
+ einfo "simple, you can find the instructions in"
+ einfo "/usr/share/doc/${PF}/README.gz"
+ fi
+}
diff --git a/app-cdr/cdw/files/digest-cdw-0.2.4 b/app-cdr/cdw/files/digest-cdw-0.2.4
new file mode 100644
index 000000000000..46d1d9433f44
--- /dev/null
+++ b/app-cdr/cdw/files/digest-cdw-0.2.4
@@ -0,0 +1,3 @@
+MD5 6d3b44c9e49d1586bf683596493f1944 cdw-0.2.4.tar.gz 626131
+RMD160 c0b96226f363e253ee6e13eda1cf05ec1151719d cdw-0.2.4.tar.gz 626131
+SHA256 1d4b5243ca9c2f95e6770896249594e84beadfa72da81babb468b104d528807d cdw-0.2.4.tar.gz 626131