wok-current view redshift/receipt @ rev 25682
Fix openssl receipt (miss engines-3)
| author | Stanislas Leduc <shann@slitaz.org> | 
|---|---|
| date | Tue Mar 12 20:03:56 2024 +0000 (19 months ago) | 
| parents | cf4b0d959281 | 
| children | 
 line source
     1 # SliTaz package receipt.
     3 PACKAGE="redshift"
     4 VERSION="1.12"
     5 CATEGORY="misc"
     6 SHORT_DESC="Screen color temperature adjustement."
     7 MAINTAINER="pascal.bellard@slitaz.org"
     8 LICENSE="GPL3"
     9 WEB_SITE="https://launchpad.net/redshift/"
    11 TARBALL="$PACKAGE-$VERSION.tar.xz"
    12 WGET_URL="https://github.com/jonls/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    14 DEPENDS="python"
    15 BUILD_DEPENDS="python"
    17 current_version()
    18 {
    19 	wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    20 	sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
    21 }
    23 # Rules to configure and make the package.
    24 compile_rules()
    25 {
    26 	./configure		\
    27 		--prefix=/usr	\
    28 		$CONFIGURE_ARGS &&
    29 	make &&
    30 	make DESTDIR=$DESTDIR install
    31 }
    33 # Rules to gen a SliTaz package suitable for Tazpkg.
    34 genpkg_rules()
    35 {
    36 	cp -a $install/* $fs
    37 }