|
|
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /home/cvsroot/gentoo-x86/media-libs/imlib/imlib-1.9.14-r1.ebuild,v 1.19 2003/11/15 02:39:23 agriffis Exp $ | # $Header: /home/cvsroot/gentoo-x86/media-libs/imlib/imlib-1.9.14-r1.ebuild,v 1.19 2003/11/15 02:39:23 agriffis Exp $ |
| |
|
IUSE="gtk" |
|
|
inherit libtool | inherit libtool |
| |
DESCRIPTION="general image loading and rendering library" | DESCRIPTION="general image loading and rendering library" |
|
|
LICENSE="GPL-2" | LICENSE="GPL-2" |
KEYWORDS="x86 ppc sparc alpha hppa amd64 ia64" | KEYWORDS="x86 ppc sparc alpha hppa amd64 ia64" |
| |
DEPEND="=x11-libs/gtk+-1.2* |
DEPEND="gtk? (=x11-libs/gtk+-1.2*) |
>=media-libs/tiff-3.5.5 | >=media-libs/tiff-3.5.5 |
>=media-libs/giflib-4.1.0 | >=media-libs/giflib-4.1.0 |
>=media-libs/libpng-1.2.1 | >=media-libs/libpng-1.2.1 |
|
|
} | } |
| |
src_compile() { | src_compile() { |
|
[ `use gtk` ] || econf_args="--with-gtk-prefix=/dev/null" |
elibtoolize | elibtoolize |
econf --sysconfdir=/etc/imlib || die |
econf --sysconfdir=/etc/imlib ${econf_args} || die |
emake || die | emake || die |
} | } |
| |