diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-03-12 11:22:21 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-03-12 11:22:21 +0000 |
commit | a4d6b22c8cdf576d2840bca054af8357d8fc94ab (patch) | |
tree | 7468d3d4c2ebc41869f7a2460fc98b70554d7c25 /media-libs | |
parent | add filter-lfs-flags (diff) | |
download | gentoo-2-a4d6b22c8cdf576d2840bca054af8357d8fc94ab.tar.gz gentoo-2-a4d6b22c8cdf576d2840bca054af8357d8fc94ab.tar.bz2 gentoo-2-a4d6b22c8cdf576d2840bca054af8357d8fc94ab.zip |
hppa stable
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/t1lib/t1lib-5.0.1.ebuild | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/media-libs/t1lib/t1lib-5.0.1.ebuild b/media-libs/t1lib/t1lib-5.0.1.ebuild index b900a16f051f..d975e07ae711 100644 --- a/media-libs/t1lib/t1lib-5.0.1.ebuild +++ b/media-libs/t1lib/t1lib-5.0.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 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.1.ebuild,v 1.1 2004/02/22 05:49:29 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/t1lib/t1lib-5.0.1.ebuild,v 1.2 2004/03/12 11:22:21 vapier Exp $ inherit gnuconfig flag-o-matic @@ -10,7 +10,7 @@ SRC_URI="ftp://sunsite.unc.edu/pub/Linux/libs/graphics/${P}.tar.gz" LICENSE="LGPL-2 GPL-2" SLOT="5" -KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64 ~ia64" +KEYWORDS="~x86 ~ppc ~sparc ~alpha hppa ~amd64 ~ia64" IUSE="X doc" DEPEND="X? ( virtual/x11 )" @@ -29,22 +29,18 @@ src_unpack() { } src_compile() { - local myconf - local myopt + local myopt="" use alpha && append-flags -mieee - use X \ - && myconf="--with-x" \ - || myconf="--without-x" - if [ ! -x /usr/bin/latex ] ; then myopt="without_doc" fi econf \ --datadir=/etc \ - ${myconf} || die + `use_with X x` \ + || die make ${myopt} || die } @@ -73,7 +69,7 @@ src_install() { cd .. dodoc Changes LGPL LICENSE README* - if [ `use doc` ] ; then + if use doc ; then cd doc insinto /usr/share/doc/${PF} doins *.pdf *.dvi |