SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xfprint"

# SliTaz package receipt.

PACKAGE="xfprint"
VERSION="4.6.1"
CATEGORY="x-window"
SHORT_DESC="Xfce Printer manager."
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://www.xfce.org"

TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://archive.xfce.org/xfce/$VERSION/src/$TARBALL"

SUGGESTED="xfprint-lang"
DEPENDS="cups dbus-glib libcomerr3 libxfce4util libxfcegui4
    startup-notification util-linux-uuid"
BUILD_DEPENDS="cups-dev dbus-glib-dev gtk+-dev intltool libxfce4util-dev
    libxfcegui4-dev startup-notification-dev util-linux-uuid-dev
    xcb-util-dev xfconf-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    patch -p1 < $stuff/xfprint-4.6.1-cups-1.6.patch

    ./configure        \
        --prefix=/usr    \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_folders    icons
    cook_copy_files        *.so*

    # Remove SVG icons
    rm -rf $fs/usr/share/icons/hicolor/scalable
}
6011 packages and 861676 files in cooking database (Sun Jun 15 00:48:28 2025)