diff options
author | Mikael Hallendal <hallski@gentoo.org> | 2001-08-23 13:38:21 +0000 |
---|---|---|
committer | Mikael Hallendal <hallski@gentoo.org> | 2001-08-23 13:38:21 +0000 |
commit | 07ae16bc4abb87fc16ebf638a3f64ed4772d5e27 (patch) | |
tree | 42fe3aff463dd508b373e9b753321a02d6e6a0a8 /app-cdr/cdrdao/cdrdao-1.1.5.ebuild | |
parent | added gconf-dep (diff) | |
download | gentoo-2-07ae16bc4abb87fc16ebf638a3f64ed4772d5e27.tar.gz gentoo-2-07ae16bc4abb87fc16ebf638a3f64ed4772d5e27.tar.bz2 gentoo-2-07ae16bc4abb87fc16ebf638a3f64ed4772d5e27.zip |
added cdrdao ebuild from Peter Kadau <peter.kadau@web.de>, this replaces gcdmaster
Diffstat (limited to 'app-cdr/cdrdao/cdrdao-1.1.5.ebuild')
-rw-r--r-- | app-cdr/cdrdao/cdrdao-1.1.5.ebuild | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/app-cdr/cdrdao/cdrdao-1.1.5.ebuild b/app-cdr/cdrdao/cdrdao-1.1.5.ebuild new file mode 100644 index 000000000000..c98cc2ea8766 --- /dev/null +++ b/app-cdr/cdrdao/cdrdao-1.1.5.ebuild @@ -0,0 +1,88 @@ +# Copyright 2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author: Peter Kadau <peter.kadau@web.de> +# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrdao/cdrdao-1.1.5.ebuild,v 1.1 2001/08/23 13:38:21 hallski Exp $ + +A=${P}.src.tar.gz +S=${WORKDIR}/cdrdao-1.1.5 +DESCRIPTION="Burn CDs in disk-at-once mode -- with optional GUI frontend" +SRC_URI="http://prdownloads.sourceforge.net/${PN}/${A}" +HOMEPAGE="http://cdrdao.sourceforge.net/" + +DEPEND=">=dev-util/pccts-1.33.24-r1" + +if [ "`use gnome`" ] +then + RDEPEND=">=gnome-base/gnome-libs-1.2.3 + >=x11-libs/gtkmm-1.2.5 + >=gnome-libs/gnomemm-1.1.17" +else + RDEPEND="" +fi + +DEPEND="${DEPEND} ${RDEPEND}" + +src_unpack() { + unpack ${A} + if [ "`use gnome`" ] + then + : + else + patch -p0 <${FILESDIR}/${PF}-gentoo.diff + fi +} + +src_compile() { + local mygnome="" + if [ "`use gnome`" ] + then + mygnome=" --with-gnome" + fi + + try ./configure "${mygnome}" --prefix=/usr --build="${CHOST}"\ + --host="${CHOST}" + try emake +} + +src_install() { + # cdrdao gets definitely installed + # binary + dobin dao/cdrdao + # data of cdrdao in /usr/share/cdrdao/ + # (right now only driverlist) + insinto /usr/share/cdrdao + newins dao/cdrdao.drivers drivers + # man page + into /usr + newman dao/cdrdao.man cdrdao.1 + # documentation + docinto "" + dodoc COPYING CREDITS INSTALL README* Release* + # + # and now the optional GNOME frontend + if [ "`use gnome`" ] + then + + # binary + into /opt/gnome + dobin xdao/gcdmaster + # pixmaps for gcdmaster in /opt/gnome/share/pixmaps/gcdmaster + insinto /opt/gnome/share/pixmaps/gcdmaster + doins xdao/pixmap_copycd.png + doins xdao/pixmap_audiocd.png + doins xdao/pixmap_datacd.png + doins xdao/pixmap_open.png + doins xdao/pixmap_mixedcd.png + doins xdao/pixmap_cd.png + doins xdao/pixmap_help.png + doins xdao/pixmap_dumpcd.png + doins xdao/gcdmaster.png + # application links + # gcdmaster.desktop in /opt/gnome/share/gnome/apps/Applications + insinto /opt/gnome/share/gnome/apps/Applications + doins xdao/gcdmaster.desktop + # xcdrdao.1 renamed to gcdmaster.1 in /opt/gnome/share/man/man1/ + into /opt/gnome + newman xdao/xcdrdao.man gcdmaster.1 + fi +} |