summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2000-08-08 13:24:41 +0000
committerAchim Gottinger <achim@gentoo.org>2000-08-08 13:24:41 +0000
commit921037a7a1e725691c782940aa5d20174b289086 (patch)
treefc676487909c3d05510e1b76979ff5241a0343da /media-libs
parent*** empty log message *** (diff)
downloadhistorical-921037a7a1e725691c782940aa5d20174b289086.tar.gz
historical-921037a7a1e725691c782940aa5d20174b289086.tar.bz2
historical-921037a7a1e725691c782940aa5d20174b289086.zip
*** empty log message ***
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/alsa-lib/alsa-lib-0.5.8-r1.ebuild32
-rw-r--r--media-libs/alsa-lib/files/digest1
-rw-r--r--media-libs/freetype/files/digest1
-rw-r--r--media-libs/freetype/freetype-1.3.1-r1.ebuild34
-rw-r--r--media-libs/giflib/files/digest1
-rw-r--r--media-libs/giflib/giflib-4.1.0-r1.ebuild30
-rw-r--r--media-libs/jpeg/files/digest1
-rw-r--r--media-libs/jpeg/jpeg-6b-r1.ebuild30
-rw-r--r--media-libs/libgd/files/digest1
-rw-r--r--media-libs/libgd/libgd-1.8.3-r1.ebuild43
-rw-r--r--media-libs/libmikmod/files/digest1
-rw-r--r--media-libs/libmikmod/libmikmod-3.1.9-r1.ebuild35
-rw-r--r--media-libs/libpng/files/digest1
-rw-r--r--media-libs/libpng/libpng-1.0.8-r1.ebuild39
-rw-r--r--media-libs/libsdl/files/digest1
-rw-r--r--media-libs/libsdl/libsdl-1.1.3-r1.ebuild43
-rw-r--r--media-libs/libungif/files/digest1
-rw-r--r--media-libs/libungif/libungif-4.1.0b1-r1.ebuild33
-rw-r--r--media-libs/t1lib/files/digest1
-rw-r--r--media-libs/t1lib/t1lib-1.0.1-r1.ebuild31
-rw-r--r--media-libs/tiff/files/config.site12
-rw-r--r--media-libs/tiff/files/digest1
-rw-r--r--media-libs/tiff/tiff-v3.5.5-r1.ebuild53
23 files changed, 426 insertions, 0 deletions
diff --git a/media-libs/alsa-lib/alsa-lib-0.5.8-r1.ebuild b/media-libs/alsa-lib/alsa-lib-0.5.8-r1.ebuild
new file mode 100644
index 000000000000..6cd4f48f5778
--- /dev/null
+++ b/media-libs/alsa-lib/alsa-lib-0.5.8-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/alsa-lib/alsa-lib-0.5.8-r1.ebuild,v 1.1 2000/08/08 13:24:40 achim Exp $
+
+P=alsa-lib-0.5.8
+A=${P}.tar.bz2
+S=${WORKDIR}/${P}
+CATEGORY="media-libs"
+DESCRIPTION="Advanced Linux Sound Architecture / Library"
+SRC_URI="ftp://ftp.alsa-project.org/pub/lib/"${A}
+HOMEPAGE="http://www.alsa-project.org/"
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_compile() {
+ cd ${S}
+ ./configure --host=${CHOST} --prefix=/usr
+ make
+}
+
+src_install() {
+ cd ${S}
+ make DESTDIR=${D} install
+ dodoc ChangeLog COPYING
+}
+
+
+
+
diff --git a/media-libs/alsa-lib/files/digest b/media-libs/alsa-lib/files/digest
new file mode 100644
index 000000000000..6e047cad4aa7
--- /dev/null
+++ b/media-libs/alsa-lib/files/digest
@@ -0,0 +1 @@
+MD5 40b5d43c4a1db9fde74a7192f4d52a9d alsa-lib-0.5.8.tar.bz2
diff --git a/media-libs/freetype/files/digest b/media-libs/freetype/files/digest
new file mode 100644
index 000000000000..b784054228f5
--- /dev/null
+++ b/media-libs/freetype/files/digest
@@ -0,0 +1 @@
+MD5 9a9e7ad00c1ef6dfbf8f8e19ceefb300 freetype-1.3.1.tar.gz
diff --git a/media-libs/freetype/freetype-1.3.1-r1.ebuild b/media-libs/freetype/freetype-1.3.1-r1.ebuild
new file mode 100644
index 000000000000..595afcd5c47a
--- /dev/null
+++ b/media-libs/freetype/freetype-1.3.1-r1.ebuild
@@ -0,0 +1,34 @@
+# 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-r1.ebuild,v 1.1 2000/08/08 13:24:41 achim Exp $
+
+P=freetype-1.3.1
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+CATEGORY="media-libs"
+DESCRIPTION="TTF-Library"
+SRC_URI="ftp://ftp.freetype.org/pub/freetype1/"${A}
+HOMEPAGE="http://www.freetype.org/"
+
+
+src_compile() {
+ cd ${S}
+ ./configure --host=${CHOST} --prefix=/usr
+ make
+}
+
+src_install() {
+ cd ${S}
+ make prefix=${D}/usr install
+ 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/giflib/files/digest b/media-libs/giflib/files/digest
new file mode 100644
index 000000000000..d88e517e0a46
--- /dev/null
+++ b/media-libs/giflib/files/digest
@@ -0,0 +1 @@
+MD5 f70e8fe2dd57815bd2740aa88aa32f2c giflib-4.1.0.tar.gz
diff --git a/media-libs/giflib/giflib-4.1.0-r1.ebuild b/media-libs/giflib/giflib-4.1.0-r1.ebuild
new file mode 100644
index 000000000000..2a8377c25afd
--- /dev/null
+++ b/media-libs/giflib/giflib-4.1.0-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/giflib/giflib-4.1.0-r1.ebuild,v 1.1 2000/08/08 13:24:41 achim Exp $
+
+P=giflib-4.1.0
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+CATEGORY="media-libs"
+DESCRIPTION="giflib"
+SRC_URI="ftp://prtr-13.ucsc.edu/pub/libungif/"${A}
+HOMEPAGE="http://prtr-13.ucsc.edu/~badger/software/libungif/index.shtml"
+src_compile() {
+ cd ${S}
+ ./configure --host=${CHOST} --prefix=/usr
+ make
+}
+
+src_install() {
+ cd ${S}
+ 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/jpeg/files/digest b/media-libs/jpeg/files/digest
new file mode 100644
index 000000000000..2062d9bbe1cc
--- /dev/null
+++ b/media-libs/jpeg/files/digest
@@ -0,0 +1 @@
+MD5 dbd5f3b47ed13132f04c685d608a7547 jpegsrc.v6b.tar.gz
diff --git a/media-libs/jpeg/jpeg-6b-r1.ebuild b/media-libs/jpeg/jpeg-6b-r1.ebuild
new file mode 100644
index 000000000000..2f53e9fea7e6
--- /dev/null
+++ b/media-libs/jpeg/jpeg-6b-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/jpeg/jpeg-6b-r1.ebuild,v 1.1 2000/08/08 13:24:41 achim Exp $
+
+P=jpeg-6b
+A=jpegsrc.v6b.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="libjpeg"
+CATEGORY=media-libs
+SRC_URI="ftp://ftp.uu.net/graphics/jpeg/"${A}
+HOMEPAGE="http://www.ijg.org/"
+src_compile() {
+ ./configure --prefix=/usr --enable-shared --enable-static
+ make
+}
+
+src_install() {
+ cd ${S}
+ mkdir ${D}/usr
+ mkdir ${D}/usr/include
+ mkdir ${D}/usr/lib
+ mkdir ${D}/usr/bin
+ mkdir ${D}/usr/man
+ mkdir ${D}/usr/man/man1
+ make install prefix=${D}/usr
+ prepman
+ dodoc README change.log structure.doc
+}
+
diff --git a/media-libs/libgd/files/digest b/media-libs/libgd/files/digest
new file mode 100644
index 000000000000..e2f92bb17afa
--- /dev/null
+++ b/media-libs/libgd/files/digest
@@ -0,0 +1 @@
+MD5 ad0e7dd1dda2812dbaeaa9706c4be536 gd-1.8.3.tar.gz
diff --git a/media-libs/libgd/libgd-1.8.3-r1.ebuild b/media-libs/libgd/libgd-1.8.3-r1.ebuild
new file mode 100644
index 000000000000..c1ca49bfed8e
--- /dev/null
+++ b/media-libs/libgd/libgd-1.8.3-r1.ebuild
@@ -0,0 +1,43 @@
+# 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-r1.ebuild,v 1.1 2000/08/08 13:24:41 achim Exp $
+
+P=libgd-1.8.3
+A=gd-1.8.3.tar.gz
+S=${WORKDIR}/gd-1.8.3
+CATEGORY="media-libs"
+DESCRIPTION="A graphics library for fast image creation"
+SRC_URI="http://www.boutell.com/gd/http/"${A}
+HOMEPAGE="http://www.boutell.com/gd/"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ cp Makefile Makefile.orig
+ 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
+}
+
+src_compile() {
+ cd ${S}
+ make
+}
+
+src_install() {
+ cd ${S}
+ dodir /usr/bin
+ dodir /usr/lib
+ dodir /usr/include
+ make INSTALL_LIB=${D}/usr/lib INSTALL_BIN=${D}/usr/bin \
+ INSTALL_INCLUDE=${D}/usr/include install
+ dodoc readme.txt
+ docinto html
+ dodoc index.html
+}
+
+
+
+
diff --git a/media-libs/libmikmod/files/digest b/media-libs/libmikmod/files/digest
new file mode 100644
index 000000000000..c878d5923c07
--- /dev/null
+++ b/media-libs/libmikmod/files/digest
@@ -0,0 +1 @@
+MD5 0d50670d34653490a0c87a9fa5cc804a libmikmod-3.1.9.tar.gz
diff --git a/media-libs/libmikmod/libmikmod-3.1.9-r1.ebuild b/media-libs/libmikmod/libmikmod-3.1.9-r1.ebuild
new file mode 100644
index 000000000000..61fe5bfd15c7
--- /dev/null
+++ b/media-libs/libmikmod/libmikmod-3.1.9-r1.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/libmikmod/libmikmod-3.1.9-r1.ebuild,v 1.1 2000/08/08 13:24:41 achim Exp $
+
+P=libmikmod-3.1.9
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+CATEGORY="media-libs"
+DESCRIPTION="The boldest sound on the planet"
+SRC_URI="http://mikmod.darkorb.net/libmikmod/"${A}
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_compile() {
+ cd ${S}
+ ./configure --host=${CHOST} --prefix=/usr
+ make
+}
+
+src_install() {
+ cd ${S}
+ make DESTDIR=${D} install
+ prepman
+ prepinfo
+ dodoc AUTHORS COPYING* NEWS PROBLEMS README TODO *.lsm
+ docinto html
+ dodoc docs/*.html
+}
+
+
+
+
diff --git a/media-libs/libpng/files/digest b/media-libs/libpng/files/digest
new file mode 100644
index 000000000000..f3164c077fdb
--- /dev/null
+++ b/media-libs/libpng/files/digest
@@ -0,0 +1 @@
+MD5 5ac355d7ec9e27f20bfe00aa10f9fdde libpng-1.0.8.tar.gz
diff --git a/media-libs/libpng/libpng-1.0.8-r1.ebuild b/media-libs/libpng/libpng-1.0.8-r1.ebuild
new file mode 100644
index 000000000000..210b51c361e4
--- /dev/null
+++ b/media-libs/libpng/libpng-1.0.8-r1.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/libpng/libpng-1.0.8-r1.ebuild,v 1.1 2000/08/08 13:24:41 achim Exp $
+
+P=libpng-1.0.8
+A="${P}.tar.gz"
+S=${WORKDIR}/${P}
+DESCRIPTION="libpng"
+CATEGORY=media-libs
+SRC_URI="http://www.libpng.org/pub/png/src/${P}.tar.gz"
+HOMEPAGE="http://www.libpng.org/"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cd ${S}
+}
+
+src_compile() {
+ cd ${S}
+ 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
+ make
+}
+
+
+src_install() {
+ cd ${S}
+ mkdir ${D}/usr
+ mkdir ${D}/usr/include
+ mkdir ${D}/usr/lib
+ make install prefix=${D}/usr
+ into /usr
+ doman *.3 *.5
+ dodoc ANNOUNCE CHANGES KNOWNBUG LICENSE README TODO Y2KINFO
+}
diff --git a/media-libs/libsdl/files/digest b/media-libs/libsdl/files/digest
new file mode 100644
index 000000000000..1162d1996b6d
--- /dev/null
+++ b/media-libs/libsdl/files/digest
@@ -0,0 +1 @@
+MD5 675cd5df455b32e7648c86cd734d5a33 SDL-1.1.3.tar.gz
diff --git a/media-libs/libsdl/libsdl-1.1.3-r1.ebuild b/media-libs/libsdl/libsdl-1.1.3-r1.ebuild
new file mode 100644
index 000000000000..96d56cefc9ae
--- /dev/null
+++ b/media-libs/libsdl/libsdl-1.1.3-r1.ebuild
@@ -0,0 +1,43 @@
+# 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/libsdl/libsdl-1.1.3-r1.ebuild,v 1.1 2000/08/08 13:24:41 achim Exp $
+
+P=libsdl-1.1.3
+A=SDL-1.1.3.tar.gz
+S=${WORKDIR}/SDL-1.1.3
+CATEGORY="media-libs"
+DESCRIPTION="Simple Direct Media Layer"
+SRC_URI="http://www.libsdl.org/release/"${A}
+HOMEPAGE="http://www.libsdl.org/"
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_compile() {
+ cd ${S}
+ ./configure --host=${CHOST} --prefix=/usr
+ make
+}
+
+src_install() {
+ cd ${S}
+ make DESTDIR=${D} install
+
+ dodoc BUGS COPYING CREDITS README* TODO WhatsNew
+ docinto html
+ dodoc *.html
+ docinto html/docs
+ dodoc docs/*.html
+ for i in audio cdrom events images opengl threads time video
+ do
+ docinto html/docs/$i
+ dodoc docs/$i/*
+ done
+
+}
+
+
+
+
diff --git a/media-libs/libungif/files/digest b/media-libs/libungif/files/digest
new file mode 100644
index 000000000000..31863ead2add
--- /dev/null
+++ b/media-libs/libungif/files/digest
@@ -0,0 +1 @@
+MD5 20d96eb90cf818a1da093614c44ad3e5 libungif-4.1.0b1.tar.gz
diff --git a/media-libs/libungif/libungif-4.1.0b1-r1.ebuild b/media-libs/libungif/libungif-4.1.0b1-r1.ebuild
new file mode 100644
index 000000000000..5bb7c068a834
--- /dev/null
+++ b/media-libs/libungif/libungif-4.1.0b1-r1.ebuild
@@ -0,0 +1,33 @@
+# 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/libungif/libungif-4.1.0b1-r1.ebuild,v 1.1 2000/08/08 13:24:41 achim Exp $
+
+P=libungif-4.1.0b1
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+CATEGORY="media-libs"
+DESCRIPTION="giflib"
+SRC_URI="ftp://prtr-13.ucsc.edu/pub/libungif/"${A}
+HOMEPAGE="http://prtr-13.ucsc.edu/~badger/software/libungif/index.shtml"
+
+src_compile() {
+ cd ${S}
+ ./configure --host=${CHOST} --prefix=/usr
+ make
+}
+
+src_install() {
+ cd ${S}
+ make prefix=${D}/usr install
+ dodoc AUTHORS BUGS COPYING ChangeLog NEWS ONEWS
+ dodoc UNCOMPRESSED_GIF README TODO
+ dodoc doc/*.txt
+ docinto html
+ dodoc doc/*.html doc/*.png
+}
+
+
+
+
+
diff --git a/media-libs/t1lib/files/digest b/media-libs/t1lib/files/digest
new file mode 100644
index 000000000000..79527f388468
--- /dev/null
+++ b/media-libs/t1lib/files/digest
@@ -0,0 +1 @@
+MD5 5e09289172db215810e8c8d2e8867de3 t1lib-1.0.1.tar.gz
diff --git a/media-libs/t1lib/t1lib-1.0.1-r1.ebuild b/media-libs/t1lib/t1lib-1.0.1-r1.ebuild
new file mode 100644
index 000000000000..71f426219ad3
--- /dev/null
+++ b/media-libs/t1lib/t1lib-1.0.1-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 Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/media-libs/t1lib/t1lib-1.0.1-r1.ebuild,v 1.1 2000/08/08 13:24:41 achim Exp $
+
+P=t1lib-1.0.1
+A=${P}.tar.gz
+S=${WORKDIR}/T1-1.0.1
+CATEGORY="media-libs"
+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"
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_compile() {
+ cd ${S}
+ ./configure --host=${CHOST} --prefix=/usr
+ make without_doc
+}
+
+src_install() {
+ cd ${S}
+ make prefix=${D}/usr install
+ dodoc Changes LGPL LICENSE README*
+}
+
+
+
diff --git a/media-libs/tiff/files/config.site b/media-libs/tiff/files/config.site
new file mode 100644
index 000000000000..586ab6ee6757
--- /dev/null
+++ b/media-libs/tiff/files/config.site
@@ -0,0 +1,12 @@
+JPEG="yes"
+ZIP="yes"
+HTML="yes"
+DIR_BIN=${D}/usr/bin
+DIR_LIB=${D}/usr/lib
+DIR_INC=${D}/usr/include
+DIR_MAN=${D}/usr/man
+DIRS_LIBINC="/usr/include"
+DIR_JPEGLIB="/usr/lib"
+DIR_GZLIB="/usr/lib"
+DSOSUF="so"
+#MANSCHEME="bsd-nroff-gzip-0.gz"
diff --git a/media-libs/tiff/files/digest b/media-libs/tiff/files/digest
new file mode 100644
index 000000000000..0e42d243be7c
--- /dev/null
+++ b/media-libs/tiff/files/digest
@@ -0,0 +1 @@
+MD5 407d65a98c7621ad6e2c64cd3d1e7a40 tiff-v3.5.5.tar.gz
diff --git a/media-libs/tiff/tiff-v3.5.5-r1.ebuild b/media-libs/tiff/tiff-v3.5.5-r1.ebuild
new file mode 100644
index 000000000000..d3322123b1fa
--- /dev/null
+++ b/media-libs/tiff/tiff-v3.5.5-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/tiff/tiff-v3.5.5-r1.ebuild,v 1.1 2000/08/08 13:24:41 achim Exp $
+
+P=tiff-v3.5.5
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="libtiff"
+CATEGORY=media-libs
+SRC_URI="http://www.libtiff.org/"${A}
+HOMEPAGE="http://www.libtiff.org/"
+
+src_compile() {
+ cd ${S}
+ ./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 ..
+ make
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ cp ${O}/files/config.site .
+ echo "DIR_HTML=\"${D}/usr/doc/${P}/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_install() {
+ cd ${S}
+ into /usr
+ dodir /usr/bin
+ dodir /usr/lib
+ dodir /usr/man
+ dodir /usr/doc
+ dodoc COPYRIGHT README TODO VERSION
+ dodir /usr/doc/${P}/html
+ make install
+ prepman
+ gzip ${D}/usr/doc/${P}/html/*.html
+ gzip ${D}/usr/doc/${P}/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
+ rm -r /tiff.sw.tools
+}