wok annotate redshift/receipt @ rev 25656
Up fwknop (2.6.11)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 09 11:08:06 2024 +0000 (7 months ago) |
parents | 5ea0ce1cecc0 |
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@25601 | 17 # What is the latest version available today? |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@25601 | 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pascal@13360 | 24 # Rules to configure and make the package. |
pascal@13360 | 25 compile_rules() |
pascal@13360 | 26 { |
Hans-G?nter@21838 | 27 ./configure \ |
Hans-G?nter@21838 | 28 --prefix=/usr \ |
Hans-G?nter@21838 | 29 $CONFIGURE_ARGS && |
Hans-G?nter@21838 | 30 make && |
Hans-G?nter@21838 | 31 make DESTDIR=$DESTDIR install |
pascal@13360 | 32 } |
pascal@13360 | 33 |
pascal@13360 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13360 | 35 genpkg_rules() |
pascal@13360 | 36 { |
pascal@13360 | 37 cp -a $install/* $fs |
pascal@13360 | 38 } |