wok annotate fbcat/receipt @ rev 24108
Up rdesktop (1.9.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 28 08:31:51 2021 +0000 (2021-09-28) |
parents | 26522f279645 |
children | 68c1e9cdd4f9 |
rev | line source |
---|---|
pascal@16216 | 1 # SliTaz package receipt. |
pascal@16216 | 2 |
pascal@16216 | 3 PACKAGE="fbcat" |
Hans-G?nter@20912 | 4 VERSION="0.5.1" |
pascal@16216 | 5 CATEGORY="misc" |
pascal@16216 | 6 SHORT_DESC="Takes a screenshot using the framebuffer device." |
pascal@16216 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16216 | 8 LICENSE="GPL2" |
Hans-G?nter@20912 | 9 WEB_SITE="http://jwilk.net/software/fbcat" |
Hans-G?nter@20912 | 10 |
pascal@16216 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@20912 | 12 WGET_URL="https://github.com/jwilk/$PACKAGE/releases/download/$VERSION/$TARBALL" |
pankso@16218 | 13 |
pascal@16216 | 14 SUGGESTED="imagemagick" |
Hans-G?nter@20912 | 15 BUILD_DEPENDS="" |
Hans-G?nter@20912 | 16 HOST_ARCH="i486 arm" |
pascal@16216 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pascal@16216 | 24 # Rules to configure and make the package. |
pascal@16216 | 25 compile_rules() |
pascal@16216 | 26 { |
pascal@16216 | 27 make |
pascal@16216 | 28 } |
pascal@16216 | 29 |
pascal@16216 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16216 | 31 genpkg_rules() |
pascal@16216 | 32 { |
pascal@16216 | 33 mkdir -p $fs/usr/bin |
pascal@16216 | 34 cp -a $src/fbcat $fs/usr/bin |
pascal@16216 | 35 cp -a $src/fbgrab $fs/usr/bin |
pascal@16216 | 36 } |