wok-6.x annotate lcdnurse/receipt @ rev 25541
w3m: fix version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 10 17:54:21 2023 +0000 (18 months ago) |
parents | 4ce52a0b72fd |
children |
rev | line source |
---|---|
pascal@15464 | 1 # SliTaz package receipt. |
pascal@15464 | 2 |
pascal@15464 | 3 PACKAGE="lcdnurse" |
pascal@15464 | 4 VERSION="1.0.3" |
pascal@15464 | 5 CATEGORY="misc" |
pascal@15464 | 6 SHORT_DESC="'heal' dead pixels on your LCD screen." |
pascal@15464 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15464 | 8 LICENSE="GPL3" |
pascal@15464 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20778 | 10 WEB_SITE="https://web.archive.org/web/20140209025603/http://congelli.eu/prog_info_lcdnurse.html" |
pascal@25028 | 11 WGET_URL="http://yantis-scripts.s3.amazonaws.com/$TARBALL" |
pascal@15464 | 12 |
al@18521 | 13 DEPENDS="wxWidgets28" |
al@18521 | 14 BUILD_DEPENDS="wxWidgets28-dev" |
pascal@15464 | 15 |
pascal@24744 | 16 # What is the latest version available today? |
pascal@24744 | 17 current_version() |
pascal@24744 | 18 { |
pascal@24744 | 19 wget -O - https://www.mmnt.net/db/0/0/37.187.4.13/lcdnurse/source 2>/dev/null | \ |
pascal@24744 | 20 sed '/lcdnurse-/!d;s|.*lcdnurse-||;s|<.*||' | sort -Vr | sed q |
pascal@24744 | 21 } |
pascal@24744 | 22 |
pascal@15464 | 23 # Rules to configure and make the package. |
pascal@15464 | 24 compile_rules() |
pascal@15464 | 25 { |
pascal@15464 | 26 ./configure \ |
pascal@15464 | 27 --prefix=/usr \ |
pascal@15464 | 28 --infodir=/usr/share/info \ |
pascal@15464 | 29 --mandir=/usr/share/man \ |
pascal@15464 | 30 $CONFIGURE_ARGS && |
pascal@15464 | 31 make && make DESTDIR=$DESTDIR install |
pascal@15464 | 32 } |
pascal@15464 | 33 |
pascal@15464 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15464 | 35 genpkg_rules() |
pascal@15464 | 36 { |
pascal@15464 | 37 cp -a $install/usr $fs |
pascal@15464 | 38 } |