wok view screentest/receipt @ rev 25074

Add python-ipaddress
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 13 19:39:39 2022 +0000 (23 months ago)
parents d37d15244372
children 0262035dc1e7
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 }