--- libgeda-20040111.ebuild 2004-09-15 22:25:25.000000000 +0200 +++ libgeda-20040111-r1.ebuild 2004-09-15 23:44:00.062078680 +0200 @@ -6,7 +6,7 @@ DESCRIPTION="libgeda - this library provides functions needed for a working gEDA/gaf system" SRC_URI="http://www.geda.seul.org/devel/${PV}/libgeda-${PV}.tar.gz" -IUSE="" +IUSE="png static" LICENSE="GPL-2" KEYWORDS="~x86 ~ppc" SLOT="0" @@ -15,12 +15,16 @@ >=x11-libs/gtk+-2.2 virtual/x11 + >=dev-util/guile-1.4.1 >=dev-util/pkgconfig-0.15.0 - >=app-sci/libgdgeda-2.0.15" + png? ( >=app-sci/libgdgeda-2.0.15 )" src_compile () { - econf || die + myconf="" + use png || myconf="${myconf} --disable-gdgeda" + use static && myconf="${myconf} --enable-static --disable-shared" + econf ${myconf} || die emake || die }