wok annotate screentest/receipt @ rev 25704

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