SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "redshift"

# SliTaz package receipt.

PACKAGE="redshift"
VERSION="1.12"
CATEGORY="misc"
SHORT_DESC="Screen color temperature adjustement."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL3"
WEB_SITE="https://launchpad.net/redshift/"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="https://github.com/jonls/$PACKAGE/releases/download/v$VERSION/$TARBALL"

DEPENDS="python"
BUILD_DEPENDS="python"

current_version()
{
    wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
}

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

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)