wok view screentest/receipt @ rev 25601

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 18:06:38 2023 +0000 (10 months ago)
parents 5ea0ce1cecc0
children d88295c12cfc
line source
1 # SliTaz package receipt.
3 PACKAGE="screentest"
4 VERSION="2.0"
5 CATEGORY="misc"
6 SHORT_DESC="A CRT and LCD screen testing utility."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://tobix.github.io/screentest/"
11 WGET_URL="https://github.com/TobiX/screentest/archive/$VERSION.tar.gz"
12 TAGS="test diagnostic screen"
14 DEPENDS="gtk+ libglade"
15 BUILD_DEPENDS="wget gtk+-dev libglade-dev automake autoconf libtool pkg-config \
16 file"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's/prune , -name/prune -or -name/' autogen.sh
29 ./autogen.sh
30 ./configure --prefix=/usr $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs/
39 }