wok view fbcat/receipt @ rev 24525
Up libav (0.6.6 -> 12.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 22 16:15:28 2022 +0000 (2022-02-22) |
parents | 26522f279645 |
children | 68c1e9cdd4f9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fbcat"
4 VERSION="0.5.1"
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="http://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=""
16 HOST_ARCH="i486 arm"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $src/fbcat $fs/usr/bin
35 cp -a $src/fbgrab $fs/usr/bin
36 }