diff options
author | Joe Bormolini <lordjoe@gentoo.org> | 2001-10-29 02:49:10 +0000 |
---|---|---|
committer | Joe Bormolini <lordjoe@gentoo.org> | 2001-10-29 02:49:10 +0000 |
commit | b1c35cb614533d063b572935f6e954a84e2ac29b (patch) | |
tree | 57f05213720bfcc6e01b1546fe26792051d25dbe /media-libs/t1lib | |
parent | added || die to sed commands in case future Makefile changes radically (diff) | |
download | gentoo-2-b1c35cb614533d063b572935f6e954a84e2ac29b.tar.gz gentoo-2-b1c35cb614533d063b572935f6e954a84e2ac29b.tar.bz2 gentoo-2-b1c35cb614533d063b572935f6e954a84e2ac29b.zip |
new version
Diffstat (limited to 'media-libs/t1lib')
-rw-r--r-- | media-libs/t1lib/files/digest-t1lib-1.3 | 1 | ||||
-rw-r--r-- | media-libs/t1lib/t1lib-1.3.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/media-libs/t1lib/files/digest-t1lib-1.3 b/media-libs/t1lib/files/digest-t1lib-1.3 new file mode 100644 index 000000000000..677e9321cb50 --- /dev/null +++ b/media-libs/t1lib/files/digest-t1lib-1.3 @@ -0,0 +1 @@ +MD5 37c1876661cec5b3a17ddd52f2bf71c2 t1lib-1.3.tar.gz 1536000 diff --git a/media-libs/t1lib/t1lib-1.3.ebuild b/media-libs/t1lib/t1lib-1.3.ebuild new file mode 100644 index 000000000000..6887ba13ae59 --- /dev/null +++ b/media-libs/t1lib/t1lib-1.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/media-libs/t1lib/t1lib-1.3.ebuild,v 1.1 2001/10/29 02:49:10 lordjoe Exp $ + +S=${WORKDIR}/T1Lib-${PV} +DESCRIPTION="A Type 1 Rasterizer Library for UNIX/X11" +SRC_URI="ftp://sunsite.unc.edu/pub/Linux/libs/graphics/${P}.tar.gz" +HOMEPAGE="http://www.neuroinformatik.ruhr-uni-bochum.de/ini/PEOPLE/rmz/t1lib/t1lib.html" + +DEPEND="virtual/glibc + tetex? ( >=app-text/tetex-1.0.7 ) + X? ( virtual/x11 )" + +src_compile() { + + local myconf + if [ "`use X`" ] + then + myconf="--with-x" + else + myconf="--without-x" + fi + + ./configure --host=${CHOST} --prefix=/usr --datadir=/etc ${myconf} || die + + if [ "`use tetex`" ] + then + emake || die + else + emake without_doc || die + fi +} + +src_install() { + + cd lib + insinto /usr/include + doins t1lib.h + + if [ "`use X`" ] + then + doins t1libx.h + dolib .libs/libt1x.{la,a,so.1.3.0} + dosym libt1x.so.1.3.0 /usr/lib/libt1x.so.1 + dosym libt1x.so.1.3.0 /usr/lib/libt1x.so + fi + + dolib .libs/libt1.{la,a,so.1.3.0} + dosym libt1.so.1.3.0 /usr/lib/libt1.so.1 + dosym libt1.so.1.3.0 /usr/lib/libt1.so + insinto /etc/t1lib + doins t1lib.config + + cd .. + dodoc Changes LGPL LICENSE README* + +} |