# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ MY_P="${P}" DESCRIPTION="Inkscape seeks to become a full featured open source SVG editor." HOMEPAGE="http://www.inkscape.org/" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" SLOT="0" LICENSE="" KEYWORDS="x86" IUSE="static kde" DEPEND="virtual/x11 >=dev-libs/glib-2.2.3 >=dev-libs/atk-1.4.0 >=dev-libs/libxml2-2.5.11 >=media-libs/freetype-2.1.4 >=x11-libs/pango-1.2.5 >=gnome-base/librsvg-2.4.0" S="${WORKDIR}/${MY_P}" src_compile() { local myconf myconf="--with-gnu-ld" use static && myconf="${myconf} --enable-static use kde && myconf="${myconf} --enable-kde use mmx || myconf="${myconf} --disable-mmx" econf ${myconf} || die "configure failed" make || die } src_install() { make DESTDIR=${D} install || die }