Package: sane-backends Version: 1.0.12 Revision: 2 Source: ftp://ftp.mostang.com/pub/sane/%n-%v/%n-%v.tar.gz Source-MD5: 28d4d7469cd688dac94c7a415a81a6bb ConfigureParams: --mandir=%p/share/man --without-gphoto2 NoSetLDFLags: true NoSetCPPFLags: true SetCPPFLags: -no-cpp-precomp NoSetMAKEFLAGS: true SetMAKEFLAGS: -j1 #Patch: %f.patch PatchScript: << perl -pi -e 's/\$\(STANDARD\)//' doc/Makefile.in << BuildDepends: libusb, libjpeg, cctools (>= 446-1) Depends: %N-shlibs (= %v-%r) Description: Scanner Access Now Easy DescDetail: << SANE stands for "Scanner Access Now Easy" and is an application programming interface (API) that provides standardized access to any raster image scanner hardware (flatbed scanner, hand-held scanner, video- and still-cameras, frame-grabbers, etc.). The SANE API is public domain and its discussion and development is open to everybody. << DescPort: << Removed sm3600 backend, it crashes, Removed dlcompat requirement upstream, trouble is, need to patch configure so it doesn't find libdl if it is installed. << CompileScript: << #!/bin/sh -ex # Just bacuase this is the way I have been building it DYLD_LIBRARY_PATH=%p/lib LIBRARY_PATH=%p/lib CPATH=%p/include LDFLAGS= export DYLD_LIBRARY_PATH export LIBRARY_PATH export CPATH export LDFLAGS ./configure %c find . -name Makefile -exec perl -pi.bak -e 's#-[LlI](%p/lib|%p/include|m|pthread|c)\s# #g' {} \; make docdir=%p/share/doc/sane-backends << InstallScript: << make install DESTDIR=%d docdir=%p/share/doc/%n-%v rm -f %i/lib/sane/libsane-sm3600.* rm -f %i/lib/sane/libsane*.so.1 rm -f %i/lib/libsane.so.1 rm -f %i/lib/libsane.so << Splitoff: << Package: %N-shlibs Depends: libjpeg-shlibs, libusb-shlibs Description: Shared libraries for sane # can't just do *.conf because we don't want saned.conf in here Files: << lib/libsane.1.0.12.dylib lib/libsane.1.dylib lib/sane/libsane-*.1.0.12.so lib/sane/libsane-*.1.so etc/sane.d/net.conf etc/sane.d/abaton.conf etc/sane.d/mustek_pp.conf etc/sane.d/agfafocus.conf etc/sane.d/mustek_usb.conf etc/sane.d/apple.conf etc/sane.d/nec.conf etc/sane.d/artec.conf etc/sane.d/avision.conf etc/sane.d/pie.conf etc/sane.d/bh.conf etc/sane.d/plustek.conf etc/sane.d/canon.conf etc/sane.d/ricoh.conf etc/sane.d/canon630u.conf etc/sane.d/s9036.conf etc/sane.d/coolscan.conf etc/sane.d/coolscan2.conf etc/sane.d/sceptre.conf etc/sane.d/dc210.conf etc/sane.d/sharp.conf etc/sane.d/dc240.conf etc/sane.d/snapscan.conf etc/sane.d/dc25.conf etc/sane.d/sp15c.conf etc/sane.d/dll.conf etc/sane.d/st400.conf etc/sane.d/dmc.conf etc/sane.d/tamarack.conf etc/sane.d/epson.conf etc/sane.d/teco1.conf etc/sane.d/fujitsu.conf etc/sane.d/teco2.conf etc/sane.d/hp.conf etc/sane.d/teco3.conf etc/sane.d/leo.conf etc/sane.d/test.conf etc/sane.d/matsushita.conf etc/sane.d/umax.conf etc/sane.d/microtek.conf etc/sane.d/umax1220u.conf etc/sane.d/microtek2.conf etc/sane.d/umax_pp.conf etc/sane.d/mustek.conf << Shlibs: %p/lib/libsane.1.dylib 2.0.0 %n (>= 1.0.9-1) ConfFiles: << %p/etc/sane.d/abaton.conf %p/etc/sane.d/mustek_pp.conf %p/etc/sane.d/agfafocus.conf %p/etc/sane.d/mustek_usb.conf %p/etc/sane.d/apple.conf %p/etc/sane.d/nec.conf %p/etc/sane.d/artec.conf %p/etc/sane.d/net.conf %p/etc/sane.d/avision.conf %p/etc/sane.d/pie.conf %p/etc/sane.d/bh.conf %p/etc/sane.d/plustek.conf %p/etc/sane.d/canon.conf %p/etc/sane.d/ricoh.conf %p/etc/sane.d/canon630u.conf %p/etc/sane.d/s9036.conf %p/etc/sane.d/coolscan.conf %p/etc/sane.d/coolscan2.conf %p/etc/sane.d/sceptre.conf %p/etc/sane.d/dc210.conf %p/etc/sane.d/sharp.conf %p/etc/sane.d/dc240.conf %p/etc/sane.d/snapscan.conf %p/etc/sane.d/dc25.conf %p/etc/sane.d/sp15c.conf %p/etc/sane.d/dll.conf %p/etc/sane.d/st400.conf %p/etc/sane.d/dmc.conf %p/etc/sane.d/tamarack.conf %p/etc/sane.d/epson.conf %p/etc/sane.d/teco1.conf %p/etc/sane.d/fujitsu.conf %p/etc/sane.d/teco2.conf %p/etc/sane.d/hp.conf %p/etc/sane.d/teco3.conf %p/etc/sane.d/leo.conf %p/etc/sane.d/test.conf %p/etc/sane.d/matsushita.conf %p/etc/sane.d/umax.conf %p/etc/sane.d/microtek.conf %p/etc/sane.d/umax1220u.conf %p/etc/sane.d/microtek2.conf %p/etc/sane.d/umax_pp.conf %p/etc/sane.d/mustek.conf << DocFiles: COPYING << SplitOff2: << Package: saned Description: Network scanner deamon for sane DescDetail: << saned is the SANE (Scanner Access Now Easy) daemon that allows remote clients to access image acquisition devices available on the local host. << DescUsage: See the man page (man saned) for how to set up the daemon Depends: %N-shlibs (= %v-%r) Files: << etc/sane.d/saned.conf share/man/man1/saned.1 sbin/saned << ConfFiles: %p/etc/sane.d/saned.conf DocFiles: COPYING << Maintainer: Peter O'Gorman License: GPL Homepage: http://www.mostang.com/sane/