summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-01-23 01:39:25 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-01-23 01:39:25 +0000
commit7bc48d430060533f881d027e320ccfcd1fd6b434 (patch)
treec62c6910b022eaf72ad4b27974ac206ec6beb6ee /app-cdr/cdw
parentversion bump (bug 38165) (diff)
downloadhistorical-7bc48d430060533f881d027e320ccfcd1fd6b434.tar.gz
historical-7bc48d430060533f881d027e320ccfcd1fd6b434.tar.bz2
historical-7bc48d430060533f881d027e320ccfcd1fd6b434.zip
version bump (bug 38165)
Diffstat (limited to 'app-cdr/cdw')
-rw-r--r--app-cdr/cdw/Manifest4
-rw-r--r--app-cdr/cdw/cdw-0.2.0.ebuild75
-rw-r--r--app-cdr/cdw/files/digest-cdw-0.2.01
3 files changed, 78 insertions, 2 deletions
diff --git a/app-cdr/cdw/Manifest b/app-cdr/cdw/Manifest
index 4a9cc73d353a..a00b322814f3 100644
--- a/app-cdr/cdw/Manifest
+++ b/app-cdr/cdw/Manifest
@@ -1,7 +1,7 @@
MD5 a6af730bfd57eacc06509251d6b8ad8a cdw-0.1.4.ebuild 847
MD5 27c80a8d690d932f131215d791821fcd metadata.xml 253
-MD5 1bae5e1f4b29d39da0418f6c6a847187 ChangeLog 707
-MD5 99bbf528fec2bb317dfbb744e7660a3b cdw-0.2.0.ebuild 2060
+MD5 b3b1fc42a15a9c0b9f44da483dee1c2e ChangeLog 834
+MD5 7898797ba3ad05c5c1d529f1f579dad1 cdw-0.2.0.ebuild 2089
MD5 c1dbd639192c8e572d5ef578ff6f0900 cdw-0.2.0_pre3.ebuild 2061
MD5 11cc50234ad018b79862769890a46165 files/digest-cdw-0.1.4 61
MD5 5ab42f889ed341206e33337ca3f4ee65 files/digest-cdw-0.2.0_pre3 66
diff --git a/app-cdr/cdw/cdw-0.2.0.ebuild b/app-cdr/cdw/cdw-0.2.0.ebuild
new file mode 100644
index 000000000000..e347f6192536
--- /dev/null
+++ b/app-cdr/cdw/cdw-0.2.0.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdw/cdw-0.2.0.ebuild,v 1.1 2004/01/23 01:39:18 mr_bones_ Exp $
+
+MY_P=${PN}-${PV/_/-}
+S="${WORKDIR}/${MY_P}"
+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="~x86"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="nls gtk oggvorbis mysql encode"
+
+RDEPEND="virtual/cdrtools"
+DEPEND="sys-libs/ncurses
+ sys-libs/zlib
+ nls? ( sys-devel/gettext )
+ gtk? ( >=x11-libs/gtk+-2
+ >=dev-libs/glib-2
+ dev-util/pkgconfig )
+ oggvorbis? ( media-libs/libvorbis )
+ mysql? ( dev-db/mysql )
+ encode? ( media-sound/lame )"
+
+src_compile() {
+ local myconf
+
+ use oggvorbis \
+ && myconf="${myconf} --with-oggenc=/usr/bin/oggenc" \
+ || myconf="${myconf} `use_with oggvorbis 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 gtk gui` || die
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ einstall || die
+
+ dodoc AUTHORS ChangeLog NEWS THANKS \
+ doc/{KNOWN_BUGS,README*,default.conf} || die "dodoc failed"
+
+ if has_version 'dev-db/mysql'; 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}
+}
+
+pkg_postinst() {
+ if has_version 'dev-db/mysql'; then
+ echo
+ einfo "You have chosen, either by selecting 'USE=mysql' or maybe"
+ einfo "because have installed 'dev-db/mysql' before, to install Disk"
+ einfo "Catalog support. 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.0 b/app-cdr/cdw/files/digest-cdw-0.2.0
new file mode 100644
index 000000000000..2ec133d6bed7
--- /dev/null
+++ b/app-cdr/cdw/files/digest-cdw-0.2.0
@@ -0,0 +1 @@
+MD5 7c82b0c10327c497b79b07b67f6b10b3 cdw-0.2.0.tar.gz 351109