Magellan Linux

Diff of /branches/magellan-next/core/sane-backends/sane-backends-1.0.22-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8388 by niro, Fri Jul 15 11:39:15 2011 UTC revision 8389 by niro, Fri Jul 15 11:53:13 2011 UTC
# Line 19  DEPEND=">= media-libs/libjpeg-8 Line 19  DEPEND=">= media-libs/libjpeg-8
19  SRCFILE="${PNAME}-${PVER}.tar.gz"  SRCFILE="${PNAME}-${PVER}.tar.gz"
20  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"  SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
21    
22  sminclude mbuild mtools  sminclude mtools
23    
24  SRC_URI=(  SRC_URI=(
25   ftp://ftp.sane-project.org/pub/sane/${PNAME}-${PVER}/${SRCFILE}   ftp://ftp.sane-project.org/pub/sane/${PNAME}-${PVER}/${SRCFILE}
26   ftp://ftp2.sane-project.org/pub/sane/${PNAME}-${PVER}/${SRCFILE}   ftp://ftp2.sane-project.org/pub/sane/${PNAME}-${PVER}/${SRCFILE}
27   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
28     mirror://${PNAME}/${PNAME}-${PVER}-xerox-mfp-usb.patch
29     mirror://${PNAME}/${PNAME}-${PVER}-libv4l084.patch
30  )  )
31    
32  UP2DATE="updatecmd ${HOMEPAGE} | grep 'ackend.*released' | sed 's/.*s-\([^ ]*\) .*/\1/'"  UP2DATE="updatecmd ${HOMEPAGE} | grep 'ackend.*released' | sed 's/.*s-\([^ ]*\) .*/\1/'"
33    
34    src_prepare()
35    {
36     munpack ${SRCFILE} || die
37     cd ${SRCDIR}
38    
39     # fix broken xerox mfp usb support
40     mpatch ${PNAME}-${PVER}-xerox-mfp-usb.patch || die
41    
42     # fix build against libv4l-0.8.4
43     mpatch ${PNAME}-${PVER}-libv4l084.patch || die
44    }
45    
46  src_compile()  src_compile()
47  {  {
48   cd ${SRCDIR}   cd ${SRCDIR}
49    
50   mconfigure --enable-ipv6 --enable-libusb --enable-avahi --with-gphoto2 || die   mconfigure --enable-ipv6 --enable-libusb --enable-avahi --with-gphoto2 --disable-latex || die
51   mmake || die   mmake || die
52    
53   cd tools/hotplug   cd tools/hotplug

Legend:
Removed from v.8388  
changed lines
  Added in v.8389