summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-01-11 22:21:03 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-01-11 22:21:03 +0000
commitb0ff989113ccab71a8b10e1753c4d46703f5a720 (patch)
treee64cda37cefd06a5909a9c1faa6dd7186becf7d8 /media-gfx/sane-backends
parentnew version; removed old (diff)
downloadgentoo-2-b0ff989113ccab71a8b10e1753c4d46703f5a720.tar.gz
gentoo-2-b0ff989113ccab71a8b10e1753c4d46703f5a720.tar.bz2
gentoo-2-b0ff989113ccab71a8b10e1753c4d46703f5a720.zip
resolved bug #134
Diffstat (limited to 'media-gfx/sane-backends')
-rw-r--r--media-gfx/sane-backends/files/digest-sane-backends-1.0.5-r11
-rw-r--r--media-gfx/sane-backends/sane-backends-1.0.5-r1.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/media-gfx/sane-backends/files/digest-sane-backends-1.0.5-r1 b/media-gfx/sane-backends/files/digest-sane-backends-1.0.5-r1
new file mode 100644
index 000000000000..f7e01bd45657
--- /dev/null
+++ b/media-gfx/sane-backends/files/digest-sane-backends-1.0.5-r1
@@ -0,0 +1 @@
+MD5 4e95675d474609b2b5d8eebdef2e0915 sane-backends-1.0.5.tar.gz 1630208
diff --git a/media-gfx/sane-backends/sane-backends-1.0.5-r1.ebuild b/media-gfx/sane-backends/sane-backends-1.0.5-r1.ebuild
new file mode 100644
index 000000000000..e16770134b91
--- /dev/null
+++ b/media-gfx/sane-backends/sane-backends-1.0.5-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: Desktop Team <desktop@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.5-r1.ebuild,v 1.1 2002/01/11 22:21:03 azarah Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Scanner Access Now Easy - Backends"
+SRC_URI="ftp://ftp.mostang.com/pub/sane/sane-$PV/$P.tar.gz"
+HOMEPAGE="http://www.mostang.com/sane/"
+
+DEPEND="virtual/glibc
+ >=media-libs/jpeg-6b"
+
+src_unpack() {
+ unpack ${A}
+ cp ${FILESDIR}/linux_sg3_err.h ${S}/sanei
+
+ #only generate the .ps and not the fonts
+ cp ${S}/doc/Makefile.in ${S}/doc/Makefile.in.orig
+ sed -e 's:dvips sane.dvi -o sane.ps:dvips sane.dvi -o -M0 sane.ps:' \
+ ${S}/doc/Makefile.in.orig > ${S}/doc/Makefile.in
+}
+
+src_compile() {
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --host=${CHOST} || die
+ make || die
+}
+
+src_install () {
+ make prefix=${D}/usr \
+ sysconfdir=${D}/etc \
+ mandir=${D}/usr/share/man \
+ docdir=${D}/usr/share/doc/${PF} \
+ install || die
+
+# dodoc AUTHORS COPYING ChangeLog LEVEL2 LICENSE NEWS
+# dodoc PROBLEMS PROJECTS README* TODO
+ docinto backend
+ cd backend
+ dodoc GUIDE *.README *.BUGS *.CHANGES *.FAQ *.TODO
+}
+