diff options
Diffstat (limited to 'media-libs/t1lib')
-rw-r--r-- | media-libs/t1lib/ChangeLog | 5 | ||||
-rw-r--r-- | media-libs/t1lib/files/digest-t1lib-5.0.0 | 1 | ||||
-rw-r--r-- | media-libs/t1lib/t1lib-5.0.0.ebuild | 74 |
3 files changed, 80 insertions, 0 deletions
diff --git a/media-libs/t1lib/ChangeLog b/media-libs/t1lib/ChangeLog index 6975107e930d..ea00f1d96e80 100644 --- a/media-libs/t1lib/ChangeLog +++ b/media-libs/t1lib/ChangeLog @@ -7,6 +7,11 @@ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords +*t1lib-5.0.0 (31 Jul 2003) + + 31 Jul 2003; Ryan Phillips <rphillips@gentoo.org> t1lib-5.0.0.ebuild : + new version + *t1lib-1.3.1 (1 May 2002) 28 Apr 2003; Martin Holzer <mholzer@gentoo.org> t1lib-1.3.1.ebuild: diff --git a/media-libs/t1lib/files/digest-t1lib-5.0.0 b/media-libs/t1lib/files/digest-t1lib-5.0.0 new file mode 100644 index 000000000000..91c3ba276343 --- /dev/null +++ b/media-libs/t1lib/files/digest-t1lib-5.0.0 @@ -0,0 +1 @@ +MD5 6b5d79840ec2be72b506c12abb040a60 t1lib-5.0.0.tar.gz 1633559 diff --git a/media-libs/t1lib/t1lib-5.0.0.ebuild b/media-libs/t1lib/t1lib-5.0.0.ebuild new file mode 100644 index 000000000000..5e5e524916e1 --- /dev/null +++ b/media-libs/t1lib/t1lib-5.0.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/t1lib/t1lib-5.0.0.ebuild,v 1.1 2003/07/31 21:27:31 rphillips Exp $ + +inherit gnuconfig + +IUSE="X tetex" + +S=${WORKDIR}/${P} +DESCRIPTION="A Type 1 Rasterizer Library for UNIX/X11" +SRC_URI="ftp://sunsite.unc.edu/pub/Linux/libs/graphics/${P}.tar.gz" +HOMEPAGE="ftp://metalab.unc.edu/pub/Linux/libs/graphics" + +DEPEND="X? ( virtual/x11 ) + tetex? ( >=app-text/tetex-1.0.7 )" + +SLOT="0" +LICENSE="LGPL-2 GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64" + +src_unpack() { + unpack ${A} + use amd64 && gnuconfig_update + + cd ${S}/doc + mv Makefile.in Makefile.in-orig + sed -e "s:dvips:#dvips:" Makefile.in-orig>Makefile.in + +} + +src_compile() { + + local myconf + local myopt + + use X \ + && myconf="--with-x" \ + || myconf="--without-x" + + use tetex \ + || myopt="without_doc" + echo `pwd` + econf ${myconf} || die + make ${myopt} || die +} + +src_install() { + + cd lib + insinto /usr/include + doins t1lib.h + + use X && ( \ + doins t1libx.h + ln -s -f libt1x.lai .libs/libt1x.la + dolib .libs/libt1x.{la,a,so.1.3.1} + dosym libt1x.so.1.3.1 /usr/lib/libt1x.so.1 + dosym libt1x.so.1.3.1 /usr/lib/libt1x.so + ) + + ln -s -f libt1.lai .libs/libt1.la + dolib .libs/libt1.{la,a,so.1.3.1} + dosym libt1.so.1.3.1 /usr/lib/libt1.so.1 + dosym libt1.so.1.3.1 /usr/lib/libt1.so + insinto /etc/t1lib + doins t1lib.config + + cd .. + dodoc Changes LGPL LICENSE README* + cd doc + insinto /usr/share/doc/t1lib-1.3.1/ + doins *.pdf *.dvi + +} |