summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-14 07:07:09 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-14 07:07:09 +0000
commitdcba5e4b5a9836b8ac6fafb02f0149ab3e12718c (patch)
treeafcc55447b68e7c8f1ff4e807f2170db08ba9c71 /media-gfx/sane-backends
parentAdded an entry to env.d (diff)
downloadhistorical-dcba5e4b5a9836b8ac6fafb02f0149ab3e12718c.tar.gz
historical-dcba5e4b5a9836b8ac6fafb02f0149ab3e12718c.tar.bz2
historical-dcba5e4b5a9836b8ac6fafb02f0149ab3e12718c.zip
*** empty log message ***
Diffstat (limited to 'media-gfx/sane-backends')
-rw-r--r--media-gfx/sane-backends/ChangeLog13
-rw-r--r--media-gfx/sane-backends/files/digest-sane-backends-1.0.7-r11
-rw-r--r--media-gfx/sane-backends/sane-backends-1.0.7-r1.ebuild48
3 files changed, 61 insertions, 1 deletions
diff --git a/media-gfx/sane-backends/ChangeLog b/media-gfx/sane-backends/ChangeLog
index 915823917c07..27580779f233 100644
--- a/media-gfx/sane-backends/ChangeLog
+++ b/media-gfx/sane-backends/ChangeLog
@@ -1,6 +1,6 @@
# ChangeLog for media-gfx/sane-backends
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/ChangeLog,v 1.3 2002/04/14 06:52:15 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/ChangeLog,v 1.4 2002/04/14 07:07:09 seemant Exp $
*sane-backends-1.0.7-r1 (13 Apr 2002)
@@ -8,8 +8,19 @@
sane-backends-1.0.7-r1.ebuild files/digest-sane-backends-1.0.7-r1 :
Added a pkg_postinst() function to add the SANE_CONFIG_DIR environment
+ variable. This solution was found by the bug reporter of bug #1595,
+ MvOstheim@web.de (Michael v.Ostheim)
+
+=======
+*sane-backends-1.0.7-r1 (13 Apr 2002)
+
+ 13 Apr 2002; Seemant Kulleen <seemant@gentoo.org>
+ sane-backends-1.0.7-r1.ebuild files/digest-sane-backends-1.0.7-r1 :
+
+ Added a pkg_postinst() function to add the SANE_CONFIG_DIR environment
variable.
+>>>>>>> 1.3
*sane-backends-1.0.7 (2 Mar 2002)
2 Mar 2002; Chris Houser <chouser@gentoo.org>
diff --git a/media-gfx/sane-backends/files/digest-sane-backends-1.0.7-r1 b/media-gfx/sane-backends/files/digest-sane-backends-1.0.7-r1
new file mode 100644
index 000000000000..3e8cded7e711
--- /dev/null
+++ b/media-gfx/sane-backends/files/digest-sane-backends-1.0.7-r1
@@ -0,0 +1 @@
+MD5 6010d68d8a8c29d1dcbf0c6d5005770b sane-backends-1.0.7.tar.gz 1867577
diff --git a/media-gfx/sane-backends/sane-backends-1.0.7-r1.ebuild b/media-gfx/sane-backends/sane-backends-1.0.7-r1.ebuild
new file mode 100644
index 000000000000..1ed675278132
--- /dev/null
+++ b/media-gfx/sane-backends/sane-backends-1.0.7-r1.ebuild
@@ -0,0 +1,48 @@
+# 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.7-r1.ebuild,v 1.1 2002/04/14 07:07:09 seemant 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=">=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
+
+ docinto backend
+ cd backend
+ dodoc GUIDE *.README *.BUGS *.CHANGES *.FAQ *.TODO
+}
+
+
+pkg_postinst() {
+
+ echo "SANE_CONFIG_DIR=/etc/sane.d" > /etc/env.d/30sane
+
+}