SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "scrot"

# SliTaz package receipt.

PACKAGE="scrot"
VERSION="1.7"
CATEGORY="x-window"
SHORT_DESC="A screen capture utility."
MAINTAINER="al.bobylev@gmail.com"
LICENSE="BSD"
WEB_SITE="https://github.com/resurrecting-open-source-projects/scrot"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/resurrecting-open-source-projects/$PACKAGE/archive/$VERSION.tar.gz"

DEPENDS="bzlib freetype giblib glibc-base imlib2 libbsd libxcb xorg-libX11
    xorg-libXau xorg-libXdmcp xorg-libXext zlib"
BUILD_DEPENDS="autoconf-archive automake giblib-dev imlib2-dev libbsd-dev xorg-libX11-dev"

# What is the latest version available today?
current_version()
{
    # https://github.com/resurrecting-open-source-projects/scrot/releases
    wget -O - https://github.com/dreamer/scrot/releases 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
#    sed -i 's|prefix)/doc|prefix)/share/doc|' *
#    patch -p1 < $stuff/scrot.patch

    ./autogen.sh    m4_pattern_allow &&
    ./configure    $CONFIGURE_ARGS &&
    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)