wok-current annotate screentest/receipt @ rev 24996
updated nim (0.19.6 -> 1.6.6)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 10:46:30 2022 +0100 (2022-05-16) |
parents | d37d15244372 |
children |
rev | line source |
---|---|
pascal@18487 | 1 # SliTaz package receipt. |
pascal@18487 | 2 |
pascal@18487 | 3 PACKAGE="screentest" |
pascal@18487 | 4 VERSION="2.0" |
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@18487 | 10 WEB_SITE="http://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@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pascal@18487 | 24 # Rules to configure and make the package. |
pascal@18487 | 25 compile_rules() |
pascal@18487 | 26 { |
pascal@18487 | 27 sed -i 's/prune , -name/prune -or -name/' autogen.sh |
pascal@18487 | 28 ./autogen.sh |
pascal@18487 | 29 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@18487 | 30 make && |
pascal@18487 | 31 make DESTDIR=$DESTDIR install |
pascal@18487 | 32 } |
pascal@18487 | 33 |
pascal@18487 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18487 | 35 genpkg_rules() |
pascal@18487 | 36 { |
pascal@18487 | 37 cp -a $install/* $fs/ |
pascal@18487 | 38 } |