diff options
Diffstat (limited to 'media-libs/babl/babl-0.0.22.ebuild')
-rw-r--r-- | media-libs/babl/babl-0.0.22.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/media-libs/babl/babl-0.0.22.ebuild b/media-libs/babl/babl-0.0.22.ebuild new file mode 100644 index 000000000000..a811092fe984 --- /dev/null +++ b/media-libs/babl/babl-0.0.22.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/babl/babl-0.0.22.ebuild,v 1.1 2008/10/07 21:34:20 hanno Exp $ + +DESCRIPTION="A dynamic, any to any, pixel format conversion library" +HOMEPAGE="http://www.gegl.org/babl/" +SRC_URI="ftp://ftp.gtk.org/pub/${PN}/0.0/${P}.tar.bz2" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="sse mmx" + +DEPEND="virtual/libc" + +src_compile() { + econf $(use_enable mmx) \ + $(use_enable sse) \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake install DESTDIR="${D}" || die "emake install failed" + find "${D}" -name '*.la' -delete + dodoc AUTHORS ChangeLog README NEWS || die "dodoc failed" +} |