diff options
author | Mike Frysinger <vapier@gentoo.org> | 2002-11-30 23:40:28 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2002-11-30 23:40:28 +0000 |
commit | 19af09d0cd9f90ed508e1b973533c9b8d1b8fa1b (patch) | |
tree | 1ee14e5b26bde5fe3b837afc653fa47e0114ae8b /app-office/scribus | |
parent | Changed unpack||die to unpack (diff) | |
download | gentoo-2-19af09d0cd9f90ed508e1b973533c9b8d1b8fa1b.tar.gz gentoo-2-19af09d0cd9f90ed508e1b973533c9b8d1b8fa1b.tar.bz2 gentoo-2-19af09d0cd9f90ed508e1b973533c9b8d1b8fa1b.zip |
Changed econf||die to econf
Diffstat (limited to 'app-office/scribus')
-rw-r--r-- | app-office/scribus/scribus-0.8.ebuild | 17 | ||||
-rw-r--r-- | app-office/scribus/scribus-0.9.2.ebuild | 18 |
2 files changed, 14 insertions, 21 deletions
diff --git a/app-office/scribus/scribus-0.8.ebuild b/app-office/scribus/scribus-0.8.ebuild index fc2c1bbf6f3d..645e6ba2cc2b 100644 --- a/app-office/scribus/scribus-0.8.ebuild +++ b/app-office/scribus/scribus-0.8.ebuild @@ -1,16 +1,15 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-0.8.ebuild,v 1.4 2002/11/28 22:17:14 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-0.8.ebuild,v 1.5 2002/11/30 23:38:46 vapier Exp $ -S=${WORKDIR}/${P} DESCRIPTION="Scribus is a Layout program" HOMEPAGE="http://web2.altmuehlnet.de/fschmid" SRC_URI="http://web2.altmuehlnet.de/fschmid/${P}.tar.gz" -IUSE="kde" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 ~ppc" +IUSE="kde" DEPEND="=x11-libs/qt-3* media-libs/freetype @@ -26,20 +25,18 @@ src_unpack() { } src_compile() { - econf || die "./configure failed" + econf emake || die "make failed" mv debian/scribus-debian.xpm debian/scribus.xpm } -src_install () { - - einstall destdir=${D} || die "couldn't be installed" +src_install() { + einstall destdir=${D} dodoc AUTHORS ChangeLog README TODO # Fixing desktop.scribus - use kde && - ( + if [ `use kde` ] ; then inherit kde-functions set-kdedir 3 sed -e 's/local\///' desktop.scribus > desktop.scribus.2 @@ -47,7 +44,7 @@ src_install () { cp -f desktop.scribus.2 scribus.desktop insinto ${PREFIX}/share/applnk/Graphics doins scribus.desktop - ) + fi # Copy the pixmaps to the generic place insinto /usr/share/pixmaps/ doins debian/scribus.xpm diff --git a/app-office/scribus/scribus-0.9.2.ebuild b/app-office/scribus/scribus-0.9.2.ebuild index a1645bf1f5d4..e3ebcb64bc20 100644 --- a/app-office/scribus/scribus-0.9.2.ebuild +++ b/app-office/scribus/scribus-0.9.2.ebuild @@ -1,16 +1,15 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-0.9.2.ebuild,v 1.2 2002/11/28 22:17:14 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-0.9.2.ebuild,v 1.3 2002/11/30 23:39:21 vapier Exp $ -S=${WORKDIR}/${P} DESCRIPTION="Scribus is a Layout program" HOMEPAGE="http://web2.altmuehlnet.de/fschmid" SRC_URI="http://web2.altmuehlnet.de/fschmid/${P}.tar.gz" -IUSE="kde" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86 ~ppc" +IUSE="kde" DEPEND="=x11-libs/qt-3* media-libs/freetype @@ -20,20 +19,18 @@ DEPEND="=x11-libs/qt-3* CXXFLAGS="${CXXFLAGS} -I/usr/include/lcms" src_compile() { - econf || die "./configure failed" + econf emake || die "make failed" mv debian/scribus-debian.xpm debian/scribus.xpm } -src_install () { - - einstall destdir=${D} || die "couldn't be installed" +src_install() { + einstall destdir=${D} dodoc AUTHORS ChangeLog README TODO # Fixing desktop.scribus - use kde && - ( + if [ `use kde` ] ; then inherit kde-functions set-kdedir 3 sed -e 's/local\///' desktop.scribus > desktop.scribus.2 @@ -41,11 +38,10 @@ src_install () { cp -f desktop.scribus.2 scribus.desktop insinto ${PREFIX}/share/applnk/Graphics doins scribus.desktop - ) + fi # Copy the pixmaps to the generic place insinto /usr/share/pixmaps/ doins debian/scribus.xpm dosym /usr/share/scribus/doc /usr/share/doc/${PF}/html - } |