diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2003-12-10 10:44:09 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2003-12-10 10:44:09 +0000 |
commit | fb85b977bd23671b33c06fc6de62a3fe0cf9df39 (patch) | |
tree | df90d9a4ee1bdeb0eedfeb560d1bf7d2ce797ac8 /media-gfx | |
parent | Optional dependency on libusb for sm3600 support. (diff) | |
download | historical-fb85b977bd23671b33c06fc6de62a3fe0cf9df39.tar.gz historical-fb85b977bd23671b33c06fc6de62a3fe0cf9df39.tar.bz2 historical-fb85b977bd23671b33c06fc6de62a3fe0cf9df39.zip |
Optional dependency on libusb for sm3600 support.
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/sane-backends/Manifest | 6 | ||||
-rw-r--r-- | media-gfx/sane-backends/files/digest-sane-backends-1.0.13-r1 | 1 | ||||
-rw-r--r-- | media-gfx/sane-backends/sane-backends-1.0.13-r1.ebuild | 60 |
3 files changed, 63 insertions, 4 deletions
diff --git a/media-gfx/sane-backends/Manifest b/media-gfx/sane-backends/Manifest index f3295d71e4d8..cd9167883066 100644 --- a/media-gfx/sane-backends/Manifest +++ b/media-gfx/sane-backends/Manifest @@ -1,13 +1,11 @@ MD5 29e360a67189eca0028c7df588e6fc74 sane-backends-1.0.13_pre2.ebuild 1379 MD5 4555ee1b463533584eb96945b9f9ab37 sane-backends-1.0.13.ebuild 1328 MD5 fd9ca780c6e6c1418e5123a28ff767b8 sane-backends-1.0.12-r2.ebuild 1948 -MD5 5f7c3919b817cf8e01d53c3be97aac78 sane-backends-1.0.13-r1.ebuild 1417 -MD5 b79c11db4948b186918823a7aa53fdfa mit-usb 17780 +MD5 13d9548ece6d7da3e7b4732890387995 sane-backends-1.0.13-r1.ebuild 1419 MD5 4fa228be2d5048df39147d42efa73f3f sane-backends-1.0.12-r1.ebuild 1835 MD5 7be7762b50e883335845caf48c8f79fc sane-backends-1.0.8-r2.ebuild 1296 -MD5 469220fe860a63b2429c2789b22058b2 ohne-usb 17643 MD5 7f3b255594838c151d691330cca469d0 sane-backends-1.0.11.ebuild 1309 -MD5 7b850f56a526017ee2345994dbe50989 ChangeLog 4377 +MD5 5fc973c929f1098146fb98832a64ae0e ChangeLog 4565 MD5 e3010e884705ab9dfe82a3663438d36b metadata.xml 383 MD5 365f695ec2c079ac06dd5bbf495f87ce files/linux_sg3_err.h 4894 MD5 026dc517ef9d45268cd506ec83519a0e files/canoscan-focus.patch 472 diff --git a/media-gfx/sane-backends/files/digest-sane-backends-1.0.13-r1 b/media-gfx/sane-backends/files/digest-sane-backends-1.0.13-r1 new file mode 100644 index 000000000000..d370ad91d755 --- /dev/null +++ b/media-gfx/sane-backends/files/digest-sane-backends-1.0.13-r1 @@ -0,0 +1 @@ +MD5 9a158413180a752f8af6f11792154a42 sane-backends-1.0.13.tar.gz 3108639 diff --git a/media-gfx/sane-backends/sane-backends-1.0.13-r1.ebuild b/media-gfx/sane-backends/sane-backends-1.0.13-r1.ebuild new file mode 100644 index 000000000000..e87581c9a651 --- /dev/null +++ b/media-gfx/sane-backends/sane-backends-1.0.13-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.13-r1.ebuild,v 1.1 2003/12/10 10:44:03 phosphan Exp $ + +inherit eutils + +IUSE="usb" + +DESCRIPTION="Scanner Access Now Easy - Backends" +HOMEPAGE="http://www.mostang.com/sane/" + +DEPEND=">=media-libs/jpeg-6b + x86? ( sys-libs/libieee1284 ) + =sys-apps/sed-4* + usb? ( dev-libs/libusb )" + +SRC_URI="ftp://ftp.mostang.com/pub/sane/${P}/${P}.tar.gz + ftp://ftp.mostang.com/pub/sane/old-versions/${P}/${P}.tar.gz" +SLOT="0" +LICENSE="GPL-2 public-domain" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64" + + +src_unpack() { + unpack ${A} + cp ${FILESDIR}/linux_sg3_err.h ${S}/sanei + + cd ${WORKDIR} + + #only generate the .ps and not the fonts + sed -i -e 's:$(DVIPS) sane.dvi -o sane.ps:$(DVIPS) sane.dvi -M1 -o sane.ps:' \ + ${S}/doc/Makefile.in +} + +src_compile() { + local myconf + myconf="$(use_enable usb libusb)" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --host=${CHOST} ${myconf} || 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 + + echo "SANE_CONFIG_DIR=/etc/sane.d" > 30sane + insinto /etc/env.d + doins 30sane + +} |