Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 54434 Details for
Bug 50043
An ebuild for Image Scan! (iscan-1.8.1)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild for iscan-1.13.1
iscan-1.13.1.ebuild (text/plain), 2.20 KB, created by
stephan
on 2005-03-25 06:20:07 UTC
(
hide
)
Description:
ebuild for iscan-1.13.1
Filename:
MIME Type:
Creator:
stephan
Created:
2005-03-25 06:20:07 UTC
Size:
2.20 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils > >IUSE="usb gphoto2" > >DESCRIPTION="Sane frontend and backend for Epson scanners" >HOMEPAGE="http://www.epkowa.co.jp/english/linux_e/index.html" >SRC_URI="http://www.epkowa3.on.arena.ne.jp/iscan/v1131-1-gcc32/${P}-1.tar.gz" > >SLOT="0" >LICENCE="GPL-2 epson-kowa" >KEYWORDS="~x86" > >DEPEND="media-gfx/sane-backends > usb? dev-libs/libusb" > >src_unpack() { > unpack ${A} > epatch $FILESDIR/${P}-gcc-3.4.patch >} > >src_compile() { > local myconf > myconf="$(use_enable usb libusb) $(use_with gphoto2)" > ./configure --prefix=/usr \ > --enable-debug \ > --sysconfdir=/etc \ > --mandir=/usr/share/man \ > --host=${CHOST} ${myconf} --with-gnu-ld --with-pic || die > make || die > >} > >src_install() { > #This prog overwrites files from sane-backend with older versions. > #Delete them ! > #Also the doc goes in the wrong place > einstall || die > einfo ${WORKDIR} > pushd ${WORKDIR}/../image/ > rm -f usr/lib/sane/libsane-epson.* > rm -f usr/lib/sane/libsane-dll.* > rm -f usr/lib/libsane.* > rm -f etc/sane.d/epson.conf > rm -f etc/sane.d/dll.conf > rm -rf usr/doc > > # Now we work around wrong orderd linking (stdc+++ and dl) > # Someone should recode this in a more clean way -:) > # but thats just working: > pushd usr/lib > mkdir epkowa > mv libesint23.so.1.0.0 epkowa/libesint23_orig.so.1.0.0 > mv libesint32.so.1.0.0 epkowa/libesint32_orig.so.1.0.0 > mv libesint1F.so.1.0.0 epkowa/libesint1F_orig.so.1.0.0 > mv libesmod.so.1.1.0 epkowa/libesmod_orig.so.1.1.0 > mv libe* epkowa/ > pushd epkowa > gcc -shared -fPIC -lstdc++ -ldl ./libesint23_orig.so.1.0.0 -o libesint23.so.1.0.0 > gcc -shared -fPIC -lstdc++ -ldl ./libesint32_orig.so.1.0.0 -o libesint32.so.1.0.0 > gcc -shared -fPIC -lstdc++ -ldl ./libesint1F_orig.so.1.0.0 -o libesint1F.so.1.0.0 > gcc -shared -fPIC -lstdc++ -ldl ./libesmod_orig.so.1.1.0 -o libesmod.so.1.1.0 > popd; popd; popd > dodoc ABOUT-NLS AUTHORS COPYING* README* > insinto /etc/env.d > doins $FILESDIR/99sane-epkowa >} > > >pkg_postinst() { > einfo > einfo "Hint: to enable the backend, add \"epkowa\" in \"/etc/sane.d/dll.conf\" " > einfo "Then edit \"/etc/sane.d/epkowa.conf\" to suite yuer needs. " > einfo >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 50043
:
30753
|
33652
|
33653
|
33654
|
33658
|
36748
|
36749
|
41844
|
42261
|
48895
|
54434
|
54435
|
57034
|
79380