
Receipt for package "epson-iscan"
# SliTaz package receipt. PACKAGE="epson-iscan" SOURCE="iscan" VERSION="2.30.4" CATEGORY="system-tools" SHORT_DESC="EPSON Image Scan frontend for scanners and all-in-ones" MAINTAINER="maintainer@slitaz.org" LICENSE="GPL2 custon" WEB_SITE="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX" TARBALL="${SOURCE}_${VERSION}-2.tar.gz" WGET_URL="https://sourceforge.net/projects/fabiololix-os-archive/files/src/$TARBALL" DEPENDS="gtk+ sane-backends libltdl libpng libusb libxml2" BUILD_DEPENDS="coreutils-file-summarize gtk+-dev libusb-dev \ libtool sane-backends-dev" HOST_ARCH="x86_64" # Rules to configure and make the package. compile_rules() { # Patchs from archlinux # see https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=iscan patch -p0 < $stuff/libpng15.patch patch -p0 < $stuff/jpegstream.cc.patch patch -p0 < $stuff/hain01commits2dip-obj.patch patch -p0 < $stuff/iscan-${VERSION}.2-c99.patch patch -p0 < $stuff/iscan-2.30.3_fix-sscanf-modifier-in-cfg-obj.patch # add fix for CXX ABI different than 1002 ln -s libesmod-x86_64.c2.so non-free/libesmod-x86_64.so export CFLAGS="$CFLAGS -std=gnu89" export LDFLAGS="$LDFLAGS -ldl -lpng16" ./configure \ --prefix=/usr \ --localstatedir=/var \ --enable-dependency-reduction \ --sysconfdir=/etc \ --enable-frontend \ --enable-jpeg \ --enable-tiff \ --enable-png \ --disable-gimp \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/etc/sane.d/dll.d $fs/usr/lib cp -a $src/backend/epkowa.conf $fs/etc/sane.d cp -a $stuff/epkowa.conf $fs/etc/sane.d/dll.d cp -a $install/usr/bin $fs/usr cp -a $install/usr/sbin $fs/usr cp -a $install/usr/lib/*so* $fs/usr/lib cp -a $install/usr/lib/sane $fs/usr/lib }
6107 packages and 261132 files in current database (Mon Jul 7 00:01:25 2025)