diff options
Diffstat (limited to 'media-gfx/ale/ale-0.8.11.2.ebuild')
-rw-r--r-- | media-gfx/ale/ale-0.8.11.2.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/media-gfx/ale/ale-0.8.11.2.ebuild b/media-gfx/ale/ale-0.8.11.2.ebuild new file mode 100644 index 0000000..6803fb0 --- /dev/null +++ b/media-gfx/ale/ale-0.8.11.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="ALE (Anti-Lamenessing Engine) is an image-processing program used for tasks such as image mosaicking, super-resolution, deblurring, noise reduction, anti-aliasing, and scene reconstruction." +HOMEPAGE="http://auricle.dyndns.org/ALE/" +SRC_URI="http://auricle.dyndns.org/ALE/download/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="fftw imagemagick doc" +RDEPEND="fftw? ( =sci-libs/fftw-3* ) + imagemagick? ( media-gfx/imagemagick )" +DEPEND="${RDEPEND} + doc? ( app-text/docbook-sgml-utils )" + +src_compile() { + econf $(use_with imagemagick) $(use_with fftw fftw3) --enable-wmx \ + || die "econf failed" + emake || die "emake failed" + use doc && (emake -C doc chunk || die "emake chunk failed") +} + + +src_install() { + emake install DESTDIR="${D}" || die "emake install failed" + if use doc; then + # I don't know why it creates a .html for index, but it's bad + cp -f doc/index/.html doc/index/index.html + dohtml doc/index/* || die "dohtml failed" + fi +} |