summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-02-13 14:29:41 +0000
committerAchim Gottinger <achim@gentoo.org>2001-02-13 14:29:41 +0000
commitc8371d9e9ca933c7773a76ee3133ec8f0d7fbe5d (patch)
treede46edaa6630baa8b7d0d425cb6ddf761dd7d2c2 /media-libs
parent*** empty log message *** (diff)
downloadgentoo-2-c8371d9e9ca933c7773a76ee3133ec8f0d7fbe5d.tar.gz
gentoo-2-c8371d9e9ca933c7773a76ee3133ec8f0d7fbe5d.tar.bz2
gentoo-2-c8371d9e9ca933c7773a76ee3133ec8f0d7fbe5d.zip
Maintainence and FHS 2.1 fixes
Added a lot of USE flags GGI support and lcms support for libmng
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/aalib/aalib-1.2-r1.ebuild44
-rw-r--r--media-libs/alsa-lib/alsa-lib-0.5.10-r1.ebuild30
-rw-r--r--media-libs/audiofile/audiofile-0.1.9-r1.ebuild32
-rw-r--r--media-libs/freetype/freetype-1.3.1-r2.ebuild62
-rw-r--r--media-libs/freetype/freetype-2.0.1-r1.ebuild14
-rw-r--r--media-libs/giflib/giflib-4.1.0-r2.ebuild46
-rw-r--r--media-libs/gle/gle-3.0.1-r1.ebuild15
-rw-r--r--media-libs/jpeg/jpeg-6b-r2.ebuild26
-rw-r--r--media-libs/lcms/lcms-1.06.build36
-rw-r--r--media-libs/libao/libao-0.5.0-r1.ebuild28
-rw-r--r--media-libs/libgd/libgd-1.8.3-r2.ebuild62
-rw-r--r--media-libs/libmikmod/libmikmod-3.1.9-r2.ebuild44
-rw-r--r--media-libs/libmng/files/digest-libmng-1.0.01
-rw-r--r--media-libs/libmng/libmng-1.0.0.ebuild39
-rw-r--r--media-libs/libogg/libogg-1.0_beta3-r1.ebuild31
-rw-r--r--media-libs/libpng/files/digest-libpng-1.0.91
-rw-r--r--media-libs/libpng/libpng-1.0.9.ebuild35
-rw-r--r--media-libs/libvorbis/libvorbis-1.0_beta3-r1.ebuild38
-rw-r--r--media-libs/mesa/files/digest-mesa-3.4-r12
-rw-r--r--media-libs/mesa/mesa-3.4-r1.ebuild128
-rw-r--r--media-libs/netpbm/netpbm-9.10-r1.build37
-rw-r--r--media-libs/smjpeg/smjpeg-0.2.1-r2.ebuild31
-rw-r--r--media-libs/smpeg/smpeg-0.4.2-r1.ebuild53
-rw-r--r--media-libs/svgalib/files/digest-svgalib-1.4.2-r11
-rw-r--r--media-libs/svgalib/svgalib-1.4.2-r1.ebuild48
-rw-r--r--media-libs/t1lib/t1lib-1.0.1-r2.ebuild60
-rw-r--r--media-libs/tiff/tiff-3.5.5-r2.ebuild60
27 files changed, 994 insertions, 10 deletions
diff --git a/media-libs/aalib/aalib-1.2-r1.ebuild b/media-libs/aalib/aalib-1.2-r1.ebuild
new file mode 100644
index 000000000000..1f23799b825e
--- /dev/null
+++ b/media-libs/aalib/aalib-1.2-r1.ebuild
@@ -0,0 +1,44 @@
+# 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/aalib/aalib-1.2-r1.ebuild,v 1.1 2001/02/13 14:29:40 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="A ASCI-Graphics Library"
+SRC_URI="ftp://ftp.ta.jcu.cz/pub/aa/${A}"
+HOMEPAGE="http://www.ta.jcu.cz/aa/"
+
+DEPEND=">=sys-libs/ncurses-5.1
+ slang? ( >=sys-libs/slang-1.4.2 )
+ X? ( >=x11-base/xfree-4.0.1 )"
+
+src_compile() {
+
+ local myconf
+ if [ "`use slang`" ]
+ then
+ myconf="--with-slang-driver=yes"
+ else
+ myconf="--with-slang-driver=no"
+ fi
+ if [ "`use X`" ]
+ then
+ myconf="${myconf} --with-x11-driver=yes"
+ else
+ myconf="${myconf} --with-x11-driver=no"
+ fi
+
+ try ./configure --prefix=/usr --infodir=/usr/share/info --host=${CHOST} ${myconf}
+ try make
+
+}
+
+src_install () {
+
+ try make prefix=${D}/usr infodir=${D}/usr/share/info install
+
+ dodoc ANNOUNCE AUTHORS ChangeLog COPYING NEWS README*
+
+}
+
diff --git a/media-libs/alsa-lib/alsa-lib-0.5.10-r1.ebuild b/media-libs/alsa-lib/alsa-lib-0.5.10-r1.ebuild
new file mode 100644
index 000000000000..ca0305da21d6
--- /dev/null
+++ b/media-libs/alsa-lib/alsa-lib-0.5.10-r1.ebuild
@@ -0,0 +1,30 @@
+# 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/alsa-lib/alsa-lib-0.5.10-r1.ebuild,v 1.1 2001/02/13 14:29:40 achim Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Advanced Linux Sound Architecture / Library"
+SRC_URI="ftp://ftp.alsa-project.org/pub/lib/${P}.tar.bz2"
+HOMEPAGE="http://www.alsa-project.org/"
+
+DEPEND="virtual/glibc virtual/alsa"
+RDEPEND="virtual/glibc"
+
+src_compile() {
+
+ try ./configure --host=${CHOST} --prefix=/usr
+ try make
+
+}
+
+src_install() {
+
+ try make DESTDIR=${D} install
+ dodoc ChangeLog COPYING
+
+}
+
+
+
+
diff --git a/media-libs/audiofile/audiofile-0.1.9-r1.ebuild b/media-libs/audiofile/audiofile-0.1.9-r1.ebuild
new file mode 100644
index 000000000000..ecf8a5511bf7
--- /dev/null
+++ b/media-libs/audiofile/audiofile-0.1.9-r1.ebuild
@@ -0,0 +1,32 @@
+# 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/audiofile/audiofile-0.1.9-r1.ebuild,v 1.1 2001/02/13 14:29:40 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="An elegant API for accessing audio files"
+SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/audiofile/${A}"
+HOMEPAGE="http://www.68k.org./~michael/audiofile/"
+
+DEPEND="virtual/glibc"
+
+src_compile() {
+
+ try ./configure --host=${CHOST} --prefix=/usr
+ try make
+}
+
+src_install() {
+
+ try make prefix=${D}/usr install
+ dodoc ACKNOWLEDGEMENTS AUTHORS COPYING* ChangeLog README TODO
+ dodoc NEWS NOTES
+
+}
+
+
+
+
+
+
diff --git a/media-libs/freetype/freetype-1.3.1-r2.ebuild b/media-libs/freetype/freetype-1.3.1-r2.ebuild
new file mode 100644
index 000000000000..83def17bd48e
--- /dev/null
+++ b/media-libs/freetype/freetype-1.3.1-r2.ebuild
@@ -0,0 +1,62 @@
+# 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/freetype/freetype-1.3.1-r2.ebuild,v 1.1 2001/02/13 14:29:40 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="TTF-Library"
+SRC_URI="ftp://ftp.freetype.org/pub/freetype1/${A}"
+HOMEPAGE="http://www.freetype.org/"
+
+DEPEND="virtual/glibc
+ sys-devel/gettext
+ X? ( >=x11-base/xfree-4.0.2 )"
+
+RDEPEND="virtual/glibc
+ X? ( >=x11-base/xfree-4.0.2 )"
+
+src_compile() {
+
+ local myconf
+
+ if [ "`use X`" ]
+ then
+ myconf="--with-x"
+ else
+ myconf="--without-x"
+ fi
+
+ try ./configure --host=${CHOST} --prefix=/usr ${myconf}
+
+ # Make a small fix to disable tests
+ cp Makefile Makefile.orig
+ sed -e "s:ttlib tttest ttpo:ttlib ttpo:" Makefile.orig > Makefile
+
+ try make
+
+}
+
+src_install() {
+
+ cd lib
+
+ # Seems to require a shared libintl (getetxt comes only with a static one
+ # But it seems to work without problems
+
+ try make -f arch/unix/Makefile prefix=${D}/usr install
+ cd ../po
+ try make prefix=${D}/usr install
+ cd ..
+ dodoc announce PATENTS README readme.1st
+ dodoc docs/*.txt docs/FAQ docs/TODO
+ docinto html
+ dodoc docs/*.htm
+ docinto html/image
+ dodoc docs/image/*.gif docs/image/*.png
+
+}
+
+
+
+
diff --git a/media-libs/freetype/freetype-2.0.1-r1.ebuild b/media-libs/freetype/freetype-2.0.1-r1.ebuild
index 364eb74e44be..d0d864ae9261 100644
--- a/media-libs/freetype/freetype-2.0.1-r1.ebuild
+++ b/media-libs/freetype/freetype-2.0.1-r1.ebuild
@@ -1,7 +1,7 @@
# 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/freetype/freetype-2.0.1-r1.ebuild,v 1.1 2001/02/10 11:24:50 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-2.0.1-r1.ebuild,v 1.2 2001/02/13 14:29:40 achim Exp $
A=${P}.tar.bz2
S=${WORKDIR}/${P}
@@ -11,10 +11,20 @@ HOMEPAGE="http://www.freetype.org/"
DEPEND="virtual/glibc"
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ cp ${FILESDIR}/config.mk .
+
+}
src_compile() {
+ cd builds/unix
+ try ./configure
+ cd ${S}
export CFG="--host=${CHOST} --prefix=/usr"
- try make
+ #try make
try make
}
diff --git a/media-libs/giflib/giflib-4.1.0-r2.ebuild b/media-libs/giflib/giflib-4.1.0-r2.ebuild
new file mode 100644
index 000000000000..fe0b485a9ea2
--- /dev/null
+++ b/media-libs/giflib/giflib-4.1.0-r2.ebuild
@@ -0,0 +1,46 @@
+## 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/giflib/giflib-4.1.0-r2.ebuild,v 1.1 2001/02/13 14:29:40 achim Exp $
+
+P=giflib-4.1.0
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="giflib"
+SRC_URI="ftp://metalab.unc.edu/pub/Linux/libs/giflib/${A}
+ ftp://prtr-13.ucsc.edu/pub/libungif/${A}"
+
+HOMEPAGE="http://prtr-13.ucsc.edu/~badger/software/libungif/index.shtml"
+
+DEPEND="virtual/glibc
+ X? ( >=x11-base/xfree-4.0.1 )"
+
+src_compile() {
+
+ local myconf
+ if [ "`use X`" ]
+ then
+ myconf="--with-x"
+ else
+ myconf="--without-x"
+ fi
+
+ try ./configure --host=${CHOST} --prefix=/usr ${myconf}
+
+ try make
+
+}
+
+src_install() {
+
+ try make prefix=${D}/usr install
+ dodoc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS ONEWS
+ dodoc PATENT_PROBLEMS README TODO
+ dodoc doc/*.txt
+ docinto html
+ dodoc doc/*.html doc/*.png
+
+}
+
+
+
diff --git a/media-libs/gle/gle-3.0.1-r1.ebuild b/media-libs/gle/gle-3.0.1-r1.ebuild
index 149b6e326279..2036bf78f862 100644
--- a/media-libs/gle/gle-3.0.1-r1.ebuild
+++ b/media-libs/gle/gle-3.0.1-r1.ebuild
@@ -1,26 +1,25 @@
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Daniel Robbins <drobbins@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gle/gle-3.0.1-r1.ebuild,v 1.1 2001/02/01 19:38:09 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gle/gle-3.0.1-r1.ebuild,v 1.2 2001/02/13 14:29:40 achim Exp $
S=${WORKDIR}/${P}
DESCRIPTION="GL extrusion library"
SRC_URI="http://www.linas.org/gle/gle-3.0.1.tar.gz"
HOMEPAGE="http://www.linas.org/gle"
-DEPEND=">=sys-libs/glibc-2.1.3 >=x11-base/xfree-4.0.1 >=media-libs/glut-3.7"
+DEPEND="virtual/glibc
+ >=media-libs/mesa-2.4
+ >=x11-base/xfree-4.0.2"
src_compile() {
- cd ${S}
- try ./configure --with-x --prefix=/usr/X11R6
+
+ try ./configure --with-x --prefix=/usr
try make
}
src_install () {
- try make prefix=${D}/usr/X11R6 install
+ try make prefix=${D}/usr install
}
-pkg_postinst() {
- /usr/sbin/env-update
-}
diff --git a/media-libs/jpeg/jpeg-6b-r2.ebuild b/media-libs/jpeg/jpeg-6b-r2.ebuild
new file mode 100644
index 000000000000..7924a2138244
--- /dev/null
+++ b/media-libs/jpeg/jpeg-6b-r2.ebuild
@@ -0,0 +1,26 @@
+# 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/jpeg/jpeg-6b-r2.ebuild,v 1.1 2001/02/13 14:29:40 achim Exp $
+
+A=jpegsrc.v6b.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="libjpeg"
+SRC_URI="ftp://ftp.uu.net/graphics/jpeg/${A}"
+HOMEPAGE="http://www.ijg.org/"
+DEPEND="virtual/glibc"
+
+src_compile() {
+
+ try ./configure --prefix=/usr --mandir=/usr/share/man --enable-shared --enable-static
+ try make
+}
+
+src_install() {
+
+ dodir /usr/{include,lib,bin,share/man/man1}
+ try make install prefix=${D}/usr mandir=${D}/usr/share/man/man1
+
+ dodoc README change.log structure.doc
+}
+
diff --git a/media-libs/lcms/lcms-1.06.build b/media-libs/lcms/lcms-1.06.build
new file mode 100644
index 000000000000..c1ba754c5d6d
--- /dev/null
+++ b/media-libs/lcms/lcms-1.06.build
@@ -0,0 +1,36 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Your Name <your email>
+# $Header: /var/cvsroot/gentoo-x86/media-libs/lcms/lcms-1.06.build,v 1.1 2001/02/13 14:29:40 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="lcms deals with color management stuff"
+SRC_URI="http://www.littlecms.com/${A}"
+HOMEPAGE="http://www.littlecms.com/index.htm"
+
+DEPEND=""
+
+src_compile() {
+
+ try ./configure --prefix=/usr --host=${CHOST}
+ try make
+
+}
+
+src_install () {
+
+ try make DESTDIR=${D} install
+ cd ${D}/usr/include/lcms
+ cp lcms.h lcms.orig
+ sed -e "s:#define VERSION.*::" \
+ -e "s:#define PACKAGE.*::" \
+ lcms.orig > lcms.h
+ rm lcms.orig
+ cd ${S}
+ dodoc AUTHORS COPYING ChangeLog README*
+ docinto txt
+ dodoc doc/*.txt
+
+}
+
diff --git a/media-libs/libao/libao-0.5.0-r1.ebuild b/media-libs/libao/libao-0.5.0-r1.ebuild
new file mode 100644
index 000000000000..07f9daf35652
--- /dev/null
+++ b/media-libs/libao/libao-0.5.0-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Peter Gavin <pbg1854@garnet.acns.fsu.edu>
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libao/libao-0.5.0-r1.ebuild,v 1.1 2001/02/13 14:29:40 achim Exp $
+
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="the audio output library"
+SRC_URI="http://www.vorbis.com/files/beta3/${A}"
+HOMEPAGE="http://www.xiph.org/ogg/vorbis/index.html"
+DEPEND=">=media-sound/esound-0.2.20"
+
+src_compile() {
+
+ try ./configure --prefix=/usr --host=${CHOST} --enable-shared --enable-static
+ try make
+}
+
+src_install () {
+
+ try make DESTDIR=${D} install
+
+ echo "Removing docs installed by make install"
+ rm -rf ${D}/usr/share/doc
+ dodoc AUTHORS CHANGES COPYING README TODO
+ dodoc doc/API doc/DRIVERS doc/USAGE doc/WANTED
+}
diff --git a/media-libs/libgd/libgd-1.8.3-r2.ebuild b/media-libs/libgd/libgd-1.8.3-r2.ebuild
new file mode 100644
index 000000000000..6eb85af2b8a8
--- /dev/null
+++ b/media-libs/libgd/libgd-1.8.3-r2.ebuild
@@ -0,0 +1,62 @@
+# 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/libgd/libgd-1.8.3-r2.ebuild,v 1.1 2001/02/13 14:29:40 achim Exp $
+
+P=libgd-1.8.3
+A=gd-1.8.3.tar.gz
+S=${WORKDIR}/gd-1.8.3
+DESCRIPTION="A graphics library for fast image creation"
+SRC_URI="http://www.boutell.com/gd/http/"${A}
+HOMEPAGE="http://www.boutell.com/gd/"
+
+DEPEND="virtual/glibc
+ >=media-libs/jpeg-6b
+ >=media-libs/libpng-1.0.7
+ >=media-libs/freetype-1.3.1
+ X? ( >=x11-base/xfree-4.0.1 )"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ cp Makefile Makefile.orig
+ if [ "`use X`" ]
+ then
+ sed -e "s/^CFLAGS=.*/CFLAGS=$CFLAGS -DHAVE_XPM -DHAVE_JPEG -DHAVE_LIBTTF -DHAVE_PNG /" \
+ -e "s/^LIBS=.*/LIBS=-lm -lgd -lpng -lz -ljpeg -lttf -lXpm -lX11/" \
+ -e "s/^INCLUDEDIRS=/INCLUDEDIRS=-I\/usr\/include\/freetype /" \
+ Makefile.orig > Makefile
+ else
+ sed -e "s/^CFLAGS=.*/CFLAGS=$CFLAGS -DHAVE_JPEG -DHAVE_LIBTTF -DHAVE_PNG /" \
+ -e "s/^LIBS=.*/LIBS=-lm -lgd -lpng -lz -ljpeg -lttf/" \
+ -e "s/^INCLUDEDIRS=/INCLUDEDIRS=-I\/usr\/include\/freetype /" \
+ Makefile.orig > Makefile
+ fi
+
+}
+
+src_compile() {
+
+ try make
+
+}
+
+src_install() {
+
+ dodir /usr/{bin,lib,include}
+
+ try make INSTALL_LIB=${D}/usr/lib INSTALL_BIN=${D}/usr/bin \
+ INSTALL_INCLUDE=${D}/usr/include install
+
+ preplib /usr
+ dodoc readme.txt
+ docinto html
+ dodoc index.html
+
+}
+
+
+
+
+
diff --git a/media-libs/libmikmod/libmikmod-3.1.9-r2.ebuild b/media-libs/libmikmod/libmikmod-3.1.9-r2.ebuild
new file mode 100644
index 000000000000..193b405ed099
--- /dev/null
+++ b/media-libs/libmikmod/libmikmod-3.1.9-r2.ebuild
@@ -0,0 +1,44 @@
+# 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/libmikmod/libmikmod-3.1.9-r2.ebuild,v 1.1 2001/02/13 14:29:41 achim Exp $
+
+P=libmikmod-3.1.9
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="The boldest sound on the planet"
+SRC_URI="http://mikmod.darkorb.net/libmikmod/"${A}
+
+DEPEND="virtual/glibc
+ >=media-libs/alsa-lib-0.5.9
+ esd? ( >=media-sound/esound-0.2.19 )"
+
+
+src_compile() {
+
+ local myconf
+ if [ "`use esd`" ]
+ then
+ myconf="--enable-eds"
+ else
+ myconf="--disable-esd"
+ fi
+
+ try ./configure --host=${CHOST} --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info \
+ --enable-alsa --enable-oss $myconf
+ try make
+
+}
+
+src_install() {
+
+ try make DESTDIR=${D} install
+
+ dodoc AUTHORS COPYING* NEWS PROBLEMS README TODO *.lsm
+ docinto html
+ dodoc docs/*.html
+}
+
+
+
+
diff --git a/media-libs/libmng/files/digest-libmng-1.0.0 b/media-libs/libmng/files/digest-libmng-1.0.0
new file mode 100644
index 000000000000..d0dcf5b11d66
--- /dev/null
+++ b/media-libs/libmng/files/digest-libmng-1.0.0
@@ -0,0 +1 @@
+MD5 54c9cb5bf9aa5f76dfa4d63cddea539a libmng-1.0.0.tar.gz
diff --git a/media-libs/libmng/libmng-1.0.0.ebuild b/media-libs/libmng/libmng-1.0.0.ebuild
new file mode 100644
index 000000000000..60a812473aeb
--- /dev/null
+++ b/media-libs/libmng/libmng-1.0.0.ebuild
@@ -0,0 +1,39 @@
+# 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/libmng/libmng-1.0.0.ebuild,v 1.1 2001/02/13 14:29:41 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="Multiple Image Networkgraphics lib (animated png's)"
+SRC_URI="http://download.sourceforge.net/libmng/${A}"
+HOMEPAGE="http://www.libmng.com/"
+
+DEPEND="virtual/glibc
+ >=media-libs/jpeg-6b >=sys-libs/zlib-1.1.3
+ lcms? ( >=media-libs/lcms-1.0.6 )"
+
+src_compile() {
+
+ local myconf
+ if [ "`use lcms`" ]
+ then
+ myconf="--with-lcms=/usr"
+ else
+ myconf="--without-lcms"
+ fi
+ try ./configure --prefix=/usr $myconf --host=${CHOST}
+ try make
+
+}
+
+src_install () {
+
+ try make prefix=${D}/usr install
+
+ dodoc CHANGES LICENSE README*
+ dodoc doc/doc.readme doc/libmng.txt doc/*.png
+
+}
+
+
diff --git a/media-libs/libogg/libogg-1.0_beta3-r1.ebuild b/media-libs/libogg/libogg-1.0_beta3-r1.ebuild
new file mode 100644
index 000000000000..a955173de8bc
--- /dev/null
+++ b/media-libs/libogg/libogg-1.0_beta3-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Peter Gavin <pbg1854@garnet.acns.fsu.edu>
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libogg/libogg-1.0_beta3-r1.ebuild,v 1.1 2001/02/13 14:29:41 achim Exp $
+
+A=libogg-1.0beta3.tar.gz
+S=${WORKDIR}/libogg-1.0beta3
+DESCRIPTION="the Ogg media file format library"
+SRC_URI="http://www.vorbis.com/files/beta3/${A}"
+HOMEPAGE="http://www.xiph.org/ogg/vorbis/index.html"
+
+DEPEND="virtual/glibc"
+
+src_compile() {
+
+ try ./configure --prefix=/usr --host=${CHOST}
+ try make
+}
+
+src_install () {
+
+ try make DESTDIR=${D} install
+
+ # remove the docs installed by make install, since I'll install
+ # them in portage package doc directory
+ echo "Removing docs installed by make install"
+ rm -rf ${D}/usr/share/doc
+ dodoc AUTHORS CHANGES COPYING README
+ docinto html
+ dodoc doc/*.{html,png}
+}
diff --git a/media-libs/libpng/files/digest-libpng-1.0.9 b/media-libs/libpng/files/digest-libpng-1.0.9
new file mode 100644
index 000000000000..753aaf3aa0f8
--- /dev/null
+++ b/media-libs/libpng/files/digest-libpng-1.0.9
@@ -0,0 +1 @@
+MD5 4e4f5a75058b97ffa9373b4b5ca38ea4 libpng-1.0.9.tar.gz
diff --git a/media-libs/libpng/libpng-1.0.9.ebuild b/media-libs/libpng/libpng-1.0.9.ebuild
new file mode 100644
index 000000000000..0c7f33ec7dcf
--- /dev/null
+++ b/media-libs/libpng/libpng-1.0.9.ebuild
@@ -0,0 +1,35 @@
+# 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/libpng/libpng-1.0.9.ebuild,v 1.1 2001/02/13 14:29:41 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="libpng"
+SRC_URI="ftp://swrinde.nde.swri.edu/pub/png/src/${A}"
+HOMEPAGE="http://www.libpng.org/"
+
+DEPEND=">=sys-libs/zlib-1.1.3-r2"
+
+src_compile() {
+
+ sed -e "s:ZLIBLIB=../zlib:ZLIBLIB=/usr/lib:" \
+ -e "s:ZLIBINC=../zlib:ZLIBINC=/usr/include:" \
+ -e "s:prefix=/usr:prefix=${D}/usr:" \
+ -e "s/-O3/${CFLAGS}/" \
+ scripts/makefile.linux > Makefile
+ try make
+}
+
+
+src_install() {
+
+ dodir /usr/{include,lib}
+
+ try make install prefix=${D}/usr
+
+ doman *.[35]
+
+ dodoc ANNOUNCE CHANGES KNOWNBUG LICENSE README TODO Y2KINFO
+
+}
diff --git a/media-libs/libvorbis/libvorbis-1.0_beta3-r1.ebuild b/media-libs/libvorbis/libvorbis-1.0_beta3-r1.ebuild
new file mode 100644
index 000000000000..d20450bc41d5
--- /dev/null
+++ b/media-libs/libvorbis/libvorbis-1.0_beta3-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Peter Gavin <pbg1854@garnet.acns.fsu.edu>
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libvorbis/libvorbis-1.0_beta3-r1.ebuild,v 1.1 2001/02/13 14:29:41 achim Exp $
+
+
+A=libvorbis-1.0beta3.tar.gz
+S=${WORKDIR}/libvorbis-1.0beta3
+DESCRIPTION="the Ogg Vorbis sound file format library"
+SRC_URI="http://www.vorbis.com/files/beta3/${A}"
+HOMEPAGE="http://www.xiph.org/ogg/vorbis/index.html"
+
+DEPEND=">=media-libs/libogg-1.0_beta3"
+
+src_compile() {
+
+ try ./configure --prefix=/usr --host=${CHOST}
+ try make
+}
+
+src_install () {
+
+ try make DESTDIR=${D} install
+
+ echo "Removing docs installed by make install"
+ rm -rf ${D}/usr/share/doc
+
+ dodoc AUTHORS COPYING README todo.txt
+ docinto txt
+ dodoc doc/*.txt
+ docinto html
+ dodoc doc/*.{html,png}
+ docinto html/vorbisenc
+ dodoc doc/vorbisenc/*.{css,html}
+ docinto html/vorbisfile
+ dodoc doc/vorbisfile/*.{css,html}
+}
+
diff --git a/media-libs/mesa/files/digest-mesa-3.4-r1 b/media-libs/mesa/files/digest-mesa-3.4-r1
new file mode 100644
index 000000000000..2271c1f6bdee
--- /dev/null
+++ b/media-libs/mesa/files/digest-mesa-3.4-r1
@@ -0,0 +1,2 @@
+MD5 6817ac3667aec85ab4c64ad8116867b7 MesaLib-3.4.tar.bz2
+MD5 27f7c8e143e2412e75ef7a3cd2313e0b MesaDemos-3.4.tar.bz2
diff --git a/media-libs/mesa/mesa-3.4-r1.ebuild b/media-libs/mesa/mesa-3.4-r1.ebuild
new file mode 100644
index 000000000000..804fecaac548
--- /dev/null
+++ b/media-libs/mesa/mesa-3.4-r1.ebuild
@@ -0,0 +1,128 @@
+# 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/mesa/mesa-3.4-r1.ebuild,v 1.1 2001/02/13 14:29:41 achim Exp $
+
+P=MesaLib-${PV}
+A0=${P}.tar.bz2
+A1=MesaDemos-${PV}.tar.bz2
+A="${A0} ${A1}"
+S=${WORKDIR}/Mesa-${PV}
+DESCRIPTION="OpenGL like graphic library for Linux"
+SRC_URI="http://download.sourceforge.net/mesa3d/${A0}
+ http://download.sourceforge.net/mesa3d/${A1}"
+HOMEPAGE="http://mesa3d.sourceforge.net/"
+
+DEPEND="virtual/glibc
+ X? ( >=x11-base/xfree-4.0.2 )
+ ggi? ( >=media-libs/libggi-2.0_beta3 )
+ svga? ( >=media-libs/svgalib-1.4.2-r1 )"
+
+src_compile() {
+
+ local myconf
+
+ if [ "`use mmx`" ]
+ then
+ myconf="--enable-mmx"
+ else
+ myconf="--disable-mmx"
+ fi
+
+ if [ "`use 3dnow`" ]
+ then
+ myconf="${myconf} --enable-3dnow"
+ else
+ myconf="${myconf} --disable-3dnow"
+ fi
+
+ if [ "`use sse`" ]
+ then
+ myconf="${myconf} --enable-sse"
+ else
+ myconf="${myconf} --disable-sse"
+ fi
+
+ if [ "`use X`" ]
+ then
+ myconf="${myconf} --with-x"
+ else
+ myconf="${myconf} --without-x"
+ rm -rf src-glut
+ fi
+
+ if [ -z "`use ggi`" ] || [ -z "`use fbcon`" ]
+ then
+ myconf="${myconf} --disable-ggi-fbdev --without-ggi"
+ fi
+
+ if [ -z "`use svga`" ]
+ then
+ myconf="${myconf} --without-svga"
+ fi
+
+ cp configure configure.orig
+ sed -e "s:^ggi_confdir.*:ggi_confdir=/etc/ggi:" \
+ -e "s:^ggi_libdir.*:ggi_libdir=\$prefix/lib:" \
+ configure.orig > configure
+
+ try ./configure --prefix=/usr --sysconfdir=/etc/mesa --host=${CHOST} $myconf
+
+ if [ "`use ggi`" ] && [ "`use fbcon`" ]
+ then
+ cd ${S}/src/GGI
+ cp Makefile Makefile.orig
+ sed -e "s:^ggimesaconfdatadir.*:ggimesaconfdatadir = \${ggi_confdir}:" \
+ Makefile.orig > Makefile
+
+ cd ${S}/src/GGI/default
+ cp stubs.c stubs.c.orig
+ sed -e "s:Texture.Enabled:Texture.ReallyEnabled:" stubs.c.orig > stubs.c
+
+ cd ${S}/src/GGI/include/ggi/mesa
+ cp display_fbdev.h display_fbdev.h.orig
+ sed -e "s:fbdev_hook:ggi_fbdev_priv:" display_fbdev.h.orig > display_fbdev.h
+
+ cd ${S}
+ fi
+
+ try make
+
+ if [ "`use ggi`" ]
+ then
+ cd ggi/ggiglut
+ try make libglut_la_LIBADD=\"-lggi -lgg -L${S}/src/.libs -lGL\"
+ fi
+}
+
+src_install () {
+
+ try make DESTDIR=${D} install
+ if [ "`use ggi`" ]
+ then
+ cd ggi/ggiglut
+ try make DESTDIR=${D} install
+ cd ${D}/usr/lib
+ cp libglut.la libglut.orig
+ sed -e "s:-L${S}/src/.libs::g" libglut.orig > libglut.la
+ rm libglut.orig
+ fi
+
+ cd ${D}/usr/lib
+ if [ "$PN" = "mesa-glu" ]
+ then
+ rm -f libGL.*
+
+ rm -f ../include/GL/gl.h
+ rm -f ../include/GL/glx.h
+ rm -f ../include/GL/osmesa.h
+ else
+ ln -s libGL.so.2.1.030400 libMesaGL.so.3
+ fi
+ ln -s libGLU.so.1.1.030400 libMesaGLU.so.3
+
+
+ cd ${S}
+ dodoc docs/*
+}
+
diff --git a/media-libs/netpbm/netpbm-9.10-r1.build b/media-libs/netpbm/netpbm-9.10-r1.build
new file mode 100644
index 000000000000..69092d677966
--- /dev/null
+++ b/media-libs/netpbm/netpbm-9.10-r1.build
@@ -0,0 +1,37 @@
+# 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/netpbm/netpbm-9.10-r1.build,v 1.1 2001/02/13 14:29:41 achim Exp $
+
+A=${P}.tgz
+S=${WORKDIR}/${P}
+DESCRIPTION="The Net PBM library"
+SRC_URI="http://download.sourceforge.net/netpbm/${A}"
+HOMEPAGE="http://netpbm.sourceforge.net"
+
+DEPEND=">=media-libs/libpng-1.0.9
+ >=media-libs/tiff-3.5.5"
+
+RDEPEND=">=media-libs/libpng-1.0.9
+ >=media-libs/jpeg-6b"
+
+src_unpack() {
+ unpack ${A}
+ cp ${FILESDIR}/Makefile.config ${S}
+}
+
+src_compile() {
+
+ try make CFLAGS=\"${CFLAGS}\"
+
+}
+
+src_install () {
+
+ dodir /usr/lib/netpbm
+ try make PREFIX=${D}/usr CFLAGS=\"${CFLAGS}\" install
+
+ dodoc COPYRIGHT.PATENT GPL_LICENSE.txt HISTORY
+ dodoc Netpbm.programming README*
+}
+
diff --git a/media-libs/smjpeg/smjpeg-0.2.1-r2.ebuild b/media-libs/smjpeg/smjpeg-0.2.1-r2.ebuild
new file mode 100644
index 000000000000..3244337ca254
--- /dev/null
+++ b/media-libs/smjpeg/smjpeg-0.2.1-r2.ebuild
@@ -0,0 +1,31 @@
+# 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/smjpeg/smjpeg-0.2.1-r2.ebuild,v 1.1 2001/02/13 14:29:41 achim Exp $
+
+P=smjpeg-0.2.1
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="SDL Motion JPEG Library"
+SRC_URI="ftp://ftp.linuxgames.com/loki/open-source/smjpeg/${A}"
+HOMEPAGE="http://www.lokigames.com/development/smjpeg.php3"
+
+DEPEND=">=media-libs/libsdl-1.1.7"
+
+src_compile() {
+
+ cd ${S}
+ try ./configure --prefix=/usr --host=${CHOST}
+ try make
+
+}
+
+src_install () {
+
+ cd ${S}
+ try make DESTDIR=${D} install
+ dodoc CHANGES COPYING README TODO SMJPEG.txt
+
+}
+
+
diff --git a/media-libs/smpeg/smpeg-0.4.2-r1.ebuild b/media-libs/smpeg/smpeg-0.4.2-r1.ebuild
new file mode 100644
index 000000000000..2085f67ba1dc
--- /dev/null
+++ b/media-libs/smpeg/smpeg-0.4.2-r1.ebuild
@@ -0,0 +1,53 @@
+# 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/smpeg/smpeg-0.4.2-r1.ebuild,v 1.1 2001/02/13 14:29:41 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="SDL MPEG Player Library"
+SRC_URI="ftp://ftp.lokigames.com/pub/open-source/smpeg/${A}"
+HOMEPAGE="http://www.lokigames.com/development/smpeg.php3"
+
+DEPEND="virtual/glibc
+ >=media-libs/libsdl-1.1.7
+ opengl? ( >=media-libs/mesa-3.4 )
+ gtk? ( >=dev-libs/glib-1.2.8
+ >=x11-libs/gtk+-1.2.8 )"
+
+src_compile() {
+
+ local myconf
+ if [ "`use mmx`" ]
+ then
+ myconf="--enable-mmx"
+ fi
+ if [ -z "`use gtk`" ]
+ then
+ myconf="${myconf} --disable-gtk-player"
+ fi
+ if [ -z "`use X`" ]
+ then
+ myconf="${myconf} --disable-gtk-player --without-x"
+ fi
+
+ if [ -z "`use opengl`" ]
+ then
+ myconf="${myconf} --disable-opengl-player"
+ fi
+ try ./configure --prefix=/usr --mandir=/usr/share/man --host=${CHOST} ${myconf}
+ try make
+
+}
+
+src_install () {
+
+ try make DESTDIR=${D} install
+
+ dodoc CHANGES COPYING README* TODO
+
+}
+
+
+
+
diff --git a/media-libs/svgalib/files/digest-svgalib-1.4.2-r1 b/media-libs/svgalib/files/digest-svgalib-1.4.2-r1
new file mode 100644
index 000000000000..2eaea78e5f84
--- /dev/null
+++ b/media-libs/svgalib/files/digest-svgalib-1.4.2-r1
@@ -0,0 +1 @@
+MD5 4576058f43adbc2c433aeba25603fd82 svgalib-1.4.2.tar.gz
diff --git a/media-libs/svgalib/svgalib-1.4.2-r1.ebuild b/media-libs/svgalib/svgalib-1.4.2-r1.ebuild
new file mode 100644
index 000000000000..3e0b9ddba484
--- /dev/null
+++ b/media-libs/svgalib/svgalib-1.4.2-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Peter Gavin <pete@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/media-libs/svgalib/svgalib-1.4.2-r1.ebuild,v 1.1 2001/02/13 14:29:41 achim Exp $
+
+#P=
+A=${PN}-${PV}.tar.gz
+S=${WORKDIR}/${PN}-${PV}
+DESCRIPTION="a library for running svga graphics on the console"
+SRC_URI="http://www.svgalib.org/${A}"
+HOMEPAGE="http://www.svgalib.org/"
+
+DEPEND="virtual/glibc"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ patch -p1 < ${FILESDIR}/${PN}-${PV}-gentoo.diff
+}
+
+src_compile() {
+
+ try make OPTIMIZE=\""${CFLAGS}"\" static
+ try make OPTIMIZE=\""${CFLAGS}"\" shared
+ try make OPTIMIZE=\""${CFLAGS}"\" textutils
+ try make OPTIMIZE=\""${CFLAGS}"\" lrmi
+ try make OPTIMIZE=\""${CFLAGS}"\" utils
+ # Build the gl stuff tpp
+ try make OPTIMIZE=\""${CFLAGS}"\" -C gl
+ try make OPTIMIZE=\""${CFLAGS}"\" -C gl libvgagl.so.${PV}
+}
+
+src_install () {
+
+ dodir /etc/svga /usr/{include,lib,bin,share/man}
+ try make TOPDIR=${D} OPTIMIZE=\""${CFLAGS}"\" install
+ insinto /usr/include
+ doins gl/vgagl.h
+ dolib.a gl/libvgagl.a
+ dolib.so gl/libvgagl.so.${PV}
+ dosym libvgagl.so.${PV} /usr/lib/libvgagl.so
+
+ cd doc
+ dodoc 0-README CHANGES* DESIGN NEWS TODO
+ docinto txt
+ dodoc Driver-programming-HOWTO README.* add_driver svgalib.lsm
+
+}
diff --git a/media-libs/t1lib/t1lib-1.0.1-r2.ebuild b/media-libs/t1lib/t1lib-1.0.1-r2.ebuild
new file mode 100644
index 000000000000..ac4bcb8f6ec7
--- /dev/null
+++ b/media-libs/t1lib/t1lib-1.0.1-r2.ebuild
@@ -0,0 +1,60 @@
+# 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.0.1-r2.ebuild,v 1.1 2001/02/13 14:29:41 achim Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/T1-${PV}
+DESCRIPTION="A Type 1 Rasterizer Library for UNIX/X11"
+SRC_URI="ftp://ftp.neuroinformatik.ruhr-uni-bochum.de/pub/software/t1lib/${A}"
+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? ( >=x11-base/xfree-4.0.1 )"
+
+src_compile() {
+
+ local myconf
+ if [ "`use X`" ]
+ then
+ myconf="--with-x"
+ else
+ myconf="--without-x"
+ fi
+
+ try ./configure --host=${CHOST} --prefix=/usr --datadir=/etc
+
+ if [ "`use tetex`" ]
+ then
+ try make
+ else
+ try make without_doc
+ fi
+
+}
+
+src_install() {
+
+ cd lib
+ insinto /usr/include
+ doins t1lib.h
+
+ if [ "`use X`" ]
+ then
+
+ doins t1libx.h
+ dolib .libs/libt1x.{la,a,so,so.1,so.1.0.1}
+ fi
+ dolib .libs/libt1.{la,a,so,so.1,so.1.0.1}
+
+ insinto /etc/t1lib
+ doins t1lib.config
+
+ cd ..
+ dodoc Changes LGPL LICENSE README*
+
+}
+
+
+
diff --git a/media-libs/tiff/tiff-3.5.5-r2.ebuild b/media-libs/tiff/tiff-3.5.5-r2.ebuild
new file mode 100644
index 000000000000..0d4ec88c67a1
--- /dev/null
+++ b/media-libs/tiff/tiff-3.5.5-r2.ebuild
@@ -0,0 +1,60 @@
+# 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/tiff/tiff-3.5.5-r2.ebuild,v 1.1 2001/02/13 14:29:41 achim Exp $
+
+P=${PN}-v${PV}
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="libtiff"
+SRC_URI="http://www.libtiff.org/"${A}
+HOMEPAGE="http://www.libtiff.org/"
+
+DEPEND=">=media-libs/jpeg-6b >=sys-libs/zlib-1.1.3-r2"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ cp ${FILESDIR}/config.site-${PV}-r${PR} config.site
+ echo "DIR_HTML=\"${D}/usr/share/doc/${PF}/html\"" >> config.site
+ cp configure configure.orig
+ sed -e "s:if \[ -r /lib/libc.*:if \[ -r /lib/libc\.so\.6 \]\; then:" \
+ configure.orig > configure
+
+}
+
+src_compile() {
+
+ try ./configure --noninteractive
+
+ cd libtiff
+ cp Makefile Makefile.orig
+ sed -e "s/-O/${CFLAGS}/" Makefile.orig > Makefile
+ cd ../tools
+ cp Makefile Makefile.orig
+ sed -e "s/-O/${CFLAGS}/" Makefile.orig > Makefile
+ cd ..
+
+ try make
+}
+
+src_install() {
+
+ dodir /usr/{bin,lib,share/man,share/doc/${PF}/html}
+
+ dodir /usr/doc/${PF}/html
+ try make install
+
+ gzip ${D}/usr/doc/${PF}/html/*.html
+ gzip ${D}/usr/doc/${PF}/html/images/*
+
+ rm ${D}/usr/lib/libtiff.so.3
+ mv ${D}/usr/lib/libtiff.so.3.5. ${D}/usr/lib/libtiff.so.3.5.5
+ preplib /usr
+ rm -r /tiff.sw.tools
+
+ dodoc COPYRIGHT README TODO VERSION
+}
+
+