wok-current annotate redshift/receipt @ rev 24217

updated perl-html-parser (3.72 -> 3.76)
author Hans-G?nter Theisgen
date Fri Dec 31 16:34:31 2021 +0100 (2021-12-31)
parents cf4b0d959281
children
rev   line source
pascal@13360 1 # SliTaz package receipt.
pascal@13360 2
pascal@13360 3 PACKAGE="redshift"
Hans-G?nter@21838 4 VERSION="1.12"
pascal@13360 5 CATEGORY="misc"
Hans-G?nter@21838 6 SHORT_DESC="Screen color temperature adjustement."
pascal@13360 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
pascal@20669 9 WEB_SITE="https://launchpad.net/redshift/"
Hans-G?nter@21838 10
Hans-G?nter@21838 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@21838 12 WGET_URL="https://github.com/jonls/$PACKAGE/releases/download/v$VERSION/$TARBALL"
pascal@13360 13
pascal@13360 14 DEPENDS="python"
Hans-G?nter@21838 15 BUILD_DEPENDS="python"
pascal@13360 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
pascal@13360 23 # Rules to configure and make the package.
pascal@13360 24 compile_rules()
pascal@13360 25 {
Hans-G?nter@21838 26 ./configure \
Hans-G?nter@21838 27 --prefix=/usr \
Hans-G?nter@21838 28 $CONFIGURE_ARGS &&
Hans-G?nter@21838 29 make &&
Hans-G?nter@21838 30 make DESTDIR=$DESTDIR install
pascal@13360 31 }
pascal@13360 32
pascal@13360 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13360 34 genpkg_rules()
pascal@13360 35 {
pascal@13360 36 cp -a $install/* $fs
pascal@13360 37 }