wok view fbvis/receipt @ rev 25106

linux-libre: update wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 22 14:39:56 2022 +0000 (2022-06-22)
parents 6e8b1bcb30e2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="fbvis"
4 VERSION="20151208"
5 CATEGORY="graphics"
6 SHORT_DESC="A small framebuffer image viewer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="unknown"
9 WEB_SITE="https://repo.or.cz/fbvis.git"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="git|git://repo.or.cz/fbvis.git"
12 HOST_ARCH="i486 arm"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - $WEB_SITE/shortlog 2>/dev/null | \
18 sed '/<td title=/!d;s|.*<i>||;s|</.*||;s|-||g;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $install/usr/share/doc
31 cp $src/README $install/usr/share/doc
32 cp $src/fbvis $fs/usr/bin
33 }