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