summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2003-08-09 07:04:45 +0000
committerMamoru Komachi <usata@gentoo.org>2003-08-09 07:04:45 +0000
commit6a189670f6a2dbef9c6812bb6b14b1a7c2ffdd13 (patch)
tree39170897590f6647a2d959c85f955118edd33bb6 /media-libs/t1lib
parentfixed doc location, added doc IUSE flag. closes #26226 (diff)
downloadgentoo-2-6a189670f6a2dbef9c6812bb6b14b1a7c2ffdd13.tar.gz
gentoo-2-6a189670f6a2dbef9c6812bb6b14b1a7c2ffdd13.tar.bz2
gentoo-2-6a189670f6a2dbef9c6812bb6b14b1a7c2ffdd13.zip
fixed doc location, added doc IUSE flag. closes #26226
Diffstat (limited to 'media-libs/t1lib')
-rw-r--r--media-libs/t1lib/ChangeLog6
-rw-r--r--media-libs/t1lib/Manifest2
-rw-r--r--media-libs/t1lib/files/digest-t1lib-5.0.0-r21
-rw-r--r--media-libs/t1lib/t1lib-5.0.0-r2.ebuild84
4 files changed, 92 insertions, 1 deletions
diff --git a/media-libs/t1lib/ChangeLog b/media-libs/t1lib/ChangeLog
index aa1a1f86e216..7d3d72734ecc 100644
--- a/media-libs/t1lib/ChangeLog
+++ b/media-libs/t1lib/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
# /space/gentoo/cvsroot/gentoo-x86/media-libs/t1lib/ChangeLog,v 1.2 2002/04/16 01:14:04 seemant Exp
+*t1lib-5.0.0-r2 (09 Aug 2003)
+
+ 09 Aug 2003; Mamoru KOMACHI <usata@gentoo.org> t1lib-5.0.0-r2.ebuild:
+ Fixed incorrect doc location. Added doc IUSE flag. Thanks to
+ Tristan Henderson <T.Henderson@cs.ucl.ac.uk>. This closes #26226
+
*t1lib-5.0.0-r1 (03 Aug 2003)
05 Aug 2003; Mamoru KOMACHI <usata@gentoo.org> t1lib-5.0.0-r1.ebuild,
diff --git a/media-libs/t1lib/Manifest b/media-libs/t1lib/Manifest
index fa917d2b034d..4e239b8cf133 100644
--- a/media-libs/t1lib/Manifest
+++ b/media-libs/t1lib/Manifest
@@ -1,6 +1,6 @@
MD5 6d170c7d9f589e6496fa46d143090e6a ChangeLog 2238
MD5 4222b6b39f26980dffcb5d88f5d37152 t1lib-1.3.1.ebuild 1507
-MD5 0f9a2b37c1cde530711969f99b6c3a31 t1lib-5.0.0-r2.ebuild 1778
+MD5 610a3b1cb9fb1bd73ca3d47fe0693c8e t1lib-5.0.0-r2.ebuild 1778
MD5 b8eedf5f971e14761b6625ee087e411c t1lib-5.0.0-r1.ebuild 1741
MD5 817757abf473e739c3314daca2aecea2 files/digest-t1lib-1.3.1 64
MD5 fd18dc7d703e77e595bc054f2f4c0f20 files/digest-t1lib-5.0.0-r2 64
diff --git a/media-libs/t1lib/files/digest-t1lib-5.0.0-r2 b/media-libs/t1lib/files/digest-t1lib-5.0.0-r2
new file mode 100644
index 000000000000..91c3ba276343
--- /dev/null
+++ b/media-libs/t1lib/files/digest-t1lib-5.0.0-r2
@@ -0,0 +1 @@
+MD5 6b5d79840ec2be72b506c12abb040a60 t1lib-5.0.0.tar.gz 1633559
diff --git a/media-libs/t1lib/t1lib-5.0.0-r2.ebuild b/media-libs/t1lib/t1lib-5.0.0-r2.ebuild
new file mode 100644
index 000000000000..44162ec949f4
--- /dev/null
+++ b/media-libs/t1lib/t1lib-5.0.0-r2.ebuild
@@ -0,0 +1,84 @@
+# 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-r2.ebuild,v 1.1 2003/08/09 07:04:35 usata Exp $
+
+inherit gnuconfig
+
+IUSE="X tetex doc"
+
+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? ( virtual/tetex )"
+
+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.${PV}}
+ dosym libt1x.so.${PV} /usr/lib/libt1x.so.${PV%%.*}
+ dosym libt1x.so.${PV} /usr/lib/libt1x.so
+ )
+
+ ln -s -f libt1.lai .libs/libt1.la
+ dolib .libs/libt1.{la,a,so.${PV}}
+ dosym libt1.so.${PV} /usr/lib/libt1.so.${PV%%.*}
+ dosym libt1.so.${PV} /usr/lib/libt1.so
+ insinto /etc/t1lib
+ doins t1lib.config
+
+ cd ..
+ dodoc Changes LGPL LICENSE README*
+ if [ `use doc` ] ; then
+ cd doc
+ insinto /usr/share/doc/${PF}
+ doins *.pdf *.dvi
+ fi
+}
+
+pkg_postinst () {
+
+ ewarn
+ ewarn "You must rebuild other packages depending on t1lib."
+ ewarn "You may use revdep-rebuild (from app-admin/gentoolkit)"
+ ewarn "to do all necessary tricks."
+ ewarn
+}