wok view fbcat/receipt @ rev 25599
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 16 13:38:12 2023 +0000 (16 months ago) |
parents | 68c1e9cdd4f9 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="fbcat"
4 VERSION="0.5.2"
5 CATEGORY="misc"
6 SHORT_DESC="Takes a screenshot using the framebuffer device."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://jwilk.net/software/fbcat"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/jwilk/$PACKAGE/releases/download/$VERSION/$TARBALL"
14 SUGGESTED="imagemagick"
15 BUILD_DEPENDS=""
17 HOST_ARCH="i486 arm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 make
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
37 cp -a $src/fbcat $fs/usr/bin
38 cp -a $src/fbgrab $fs/usr/bin
39 }