diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2001-11-11 23:54:17 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2001-11-11 23:54:17 +0000 |
commit | a2e11f5bea75ea82df1c1396c8a3c129ac4165cf (patch) | |
tree | 7cf3f5be3c5c8ccb71f42d387bf555b7b5f1a574 /app-cdr/cdrdao | |
parent | added freetype after problem-report by user (diff) | |
download | gentoo-2-a2e11f5bea75ea82df1c1396c8a3c129ac4165cf.tar.gz gentoo-2-a2e11f5bea75ea82df1c1396c8a3c129ac4165cf.tar.bz2 gentoo-2-a2e11f5bea75ea82df1c1396c8a3c129ac4165cf.zip |
form fixes, also -funroll-loops fix
Diffstat (limited to 'app-cdr/cdrdao')
-rw-r--r-- | app-cdr/cdrdao/cdrdao-1.1.5-r1.ebuild | 54 |
1 files changed, 31 insertions, 23 deletions
diff --git a/app-cdr/cdrdao/cdrdao-1.1.5-r1.ebuild b/app-cdr/cdrdao/cdrdao-1.1.5-r1.ebuild index 564f9aae8a6c..899af6452ff5 100644 --- a/app-cdr/cdrdao/cdrdao-1.1.5-r1.ebuild +++ b/app-cdr/cdrdao/cdrdao-1.1.5-r1.ebuild @@ -1,63 +1,68 @@ # 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-r1.ebuild,v 1.2 2001/11/10 02:36:20 hallski Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrdao/cdrdao-1.1.5-r1.ebuild,v 1.3 2001/11/11 23:54:17 azarah Exp $ 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}/${P}.src.tar.gz" +SRC_URI="http://download.sourceforge.net/${PN}/${P}.src.tar.gz" HOMEPAGE="http://cdrdao.sourceforge.net/" -DEPEND=">=dev-util/pccts-1.33.24-r1" +RDEPEND="gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r1 + >=x11-libs/gtkmm-1.2.5-r1 + >=gnome-extra/gnomemm-1.1.17 )" -if [ "`use gnome`" ] -then - RDEPEND=">=gnome-base/gnome-libs-1.4.1.2-r1 - >=x11-libs/gtkmm-1.2.5-r1 - >=gnome-extra/gnomemm-1.1.17" -else - RDEPEND="" -fi +DEPEND=">=dev-util/pccts-1.33.24-r1 + ${RDEPEND}" -DEPEND="${DEPEND} ${RDEPEND}" src_unpack() { + unpack ${A} - if [ "`use gnome`" ] - then - : - else + + if [ ! "`use gnome`" ] ; then patch -p0 <${FILESDIR}/${PF}-gentoo.diff fi } src_compile() { + local mygnome="" - if [ "`use gnome`" ] - then + if [ "`use gnome`" ] ; then mygnome=" --with-gnome" - fi + fi - try ./configure "${mygnome}" --prefix=/usr --build="${CHOST}"\ - --host="${CHOST}" - try emake + # -funroll-loops do not work + CFLAGS="${CFLAGS/-funroll-loops}" + + ./configure "${mygnome}" \ + --prefix=/usr \ + --build="${CHOST}"\ + --host="${CHOST}" + + emake || die } 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 @@ -65,6 +70,7 @@ src_install() { # binary into /usr dobin xdao/gcdmaster + # pixmaps for gcdmaster in /usr/share/pixmaps/gcdmaster insinto /usr/share/pixmaps/gcdmaster doins xdao/pixmap_copycd.png @@ -76,10 +82,12 @@ src_install() { doins xdao/pixmap_help.png doins xdao/pixmap_dumpcd.png doins xdao/gcdmaster.png + # application links # gcdmaster.desktop in /usr/share/gnome/apps/Applications insinto /usr/share/gnome/apps/Applications doins xdao/gcdmaster.desktop + # xcdrdao.1 renamed to gcdmaster.1 in /usr/share/man/man1/ into /usr newman xdao/xcdrdao.man gcdmaster.1 |