wok-current view screentest/receipt @ rev 24586
updated gawk (5.0.1 -> 5.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 28 09:01:30 2022 +0100 (2022-02-28) |
parents | d37d15244372 |
children |
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 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's/prune , -name/prune -or -name/' autogen.sh
28 ./autogen.sh
29 ./configure --prefix=/usr $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs/
38 }