diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-04-14 18:55:06 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-04-14 18:55:06 +0000 |
commit | 1c3a63f851bb6886d60910b0dad88e6a09719769 (patch) | |
tree | 80701c67a3a92c6f24708f29b3adac17a76671ed /media-libs/t1lib | |
parent | removed older ebuilds (diff) | |
download | historical-1c3a63f851bb6886d60910b0dad88e6a09719769.tar.gz historical-1c3a63f851bb6886d60910b0dad88e6a09719769.tar.bz2 historical-1c3a63f851bb6886d60910b0dad88e6a09719769.zip |
Some cleanups
Diffstat (limited to 'media-libs/t1lib')
-rw-r--r-- | media-libs/t1lib/t1lib-1.3.ebuild | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/media-libs/t1lib/t1lib-1.3.ebuild b/media-libs/t1lib/t1lib-1.3.ebuild index 0cf3f2b502de..5036b55a6156 100644 --- a/media-libs/t1lib/t1lib-1.3.ebuild +++ b/media-libs/t1lib/t1lib-1.3.ebuild @@ -1,33 +1,32 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. +# Copyright 1999-2002 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.2 2002/04/14 18:52:53 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/t1lib/t1lib-1.3.ebuild,v 1.3 2002/04/14 18:55:06 seemant 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 )" +DEPEND="X? ( virtual/x11 ) + tetex? ( >=app-text/tetex-1.0.7 )" src_compile() { local myconf local myopt - use X \ - && myconf="--with-x" \ + use X \ + && myconf="--with-x" \ || myconf="--without-x" - use tetex \ + use tetex \ && myopt="without_doc" - ./configure \ - --host=${CHOST} \ - --prefix=/usr \ - --datadir=/etc \ + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --datadir=/etc \ ${myconf} || die emake ${myopt} || die @@ -39,13 +38,12 @@ src_install() { insinto /usr/include doins t1lib.h - if [ "`use X`" ] - then + use X && ( \ 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 |