SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xsane"

# SliTaz package receipt.

PACKAGE="xsane"
VERSION="0.998"
CATEGORY="office"
SHORT_DESC="XSane - graphical scanning frontend."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.xsane.org/"
WGET_URL="http://www.xsane.org/download/$TARBALL"

DEPENDS="sane-backends gtk+ tiff xorg-libXdamage lcms libv4l libltdl"
BUILD_DEPENDS="gtk+-dev sane-backends-dev lcms-dev "

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure \
        --prefix=/usr \
        --mandir=/usr/share/man \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share
    cp -a $_pkg/usr/bin $fs/usr
    cp -a $_pkg/usr/share/sane $fs/usr/share
    rm -rf $fs/usr/share/sane/xsane/doc
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)