diff options
Diffstat (limited to 'app-text/dvipng/dvipng-1.8.ebuild')
-rw-r--r-- | app-text/dvipng/dvipng-1.8.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/app-text/dvipng/dvipng-1.8.ebuild b/app-text/dvipng/dvipng-1.8.ebuild new file mode 100644 index 000000000000..7415460e9938 --- /dev/null +++ b/app-text/dvipng/dvipng-1.8.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/dvipng/dvipng-1.8.ebuild,v 1.1 2006/03/30 21:07:33 ehmsen Exp $ + +IUSE="truetype" +DESCRIPTION="A program to translate a DVI (DeVice Independent) files into PNG (Portable Network Graphics) bitmaps" +HOMEPAGE="http://dvipng.sourceforge.net/" +KEYWORDS="~x86 ~amd64" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" + +RDEPEND="media-libs/gd + media-libs/libpng + virtual/tetex + sys-libs/zlib + truetype? ( >=media-libs/freetype-2.1.5 )" +DEPEND="${RDEPEND} + sys-apps/texinfo" + +src_compile() { + econf $(use_with truetype freetype) || die "Configure failed" + emake || die "Compile failed" +} + +src_install() { + make DESTDIR=${D} install || die "Install failed" + + dodoc ChangeLog README RELEASE || die "dodoc failed" +} |