diff options
Diffstat (limited to 'media-gfx/sodipodi/sodipodi-0.24.1-r1.ebuild')
-rw-r--r-- | media-gfx/sodipodi/sodipodi-0.24.1-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/media-gfx/sodipodi/sodipodi-0.24.1-r1.ebuild b/media-gfx/sodipodi/sodipodi-0.24.1-r1.ebuild new file mode 100644 index 000000000000..37d661c025b5 --- /dev/null +++ b/media-gfx/sodipodi/sodipodi-0.24.1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Mikael Hallendal <micke@hallendal.net> +# $Header: /var/cvsroot/gentoo-x86/media-gfx/sodipodi/sodipodi-0.24.1-r1.ebuild,v 1.1 2001/10/06 17:22:51 azarah Exp $ + +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="Vector illustrating application for GNOME" +SRC_URI="http://prdownloads.sourceforge.net/${PN}/${A}" +HOMEPAGE="http://sodipodi.sourceforge.net/" + +RDEPEND=">=gnome-base/gnome-print-0.30 + >=gnome-extra/gal-0.13-r1 + bonobo? ( >=gnome-base/bonobo-1.0.9-r1 )" + +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_compile() { + local myconf + + if [ "`use bonobo`" ] ; then + myconf="--with-bonobo" + else + myconf="--without-bonobo" + fi + + if [ -z "`use nls`" ] ; then + myconf="$myconf --disable-nls" + fi + + ./configure --host=${CHOST} --prefix=/usr \ + --sysconfdir=/etc/gnome \ + --enable-gnome --enable-gnome-print ${myconf} || die + + emake || die +} + +src_install () { + make DESTDIR=${D} install || die + + dodoc AUTHORS COPYING ChangeLog README NEWS TODO +} |