wok view fbcat/receipt @ rev 25073
Up dropbear (2022.82)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 11 11:22:52 2022 +0000 (2022-06-11) |
parents | 5ea0ce1cecc0 |
children | 20ad21d5532c |
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 current_version()
20 {
21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 make
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
36 cp -a $src/fbcat $fs/usr/bin
37 cp -a $src/fbgrab $fs/usr/bin
38 }