wok annotate fbcat/receipt @ rev 24970
created recipe for midori-lang
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 26 14:49:30 2022 +0100 (2022-04-26) |
parents | 5ea0ce1cecc0 |
children | 20ad21d5532c |
rev | line source |
---|---|
pascal@16216 | 1 # SliTaz package receipt. |
pascal@16216 | 2 |
pascal@16216 | 3 PACKAGE="fbcat" |
Hans-G?nter@24538 | 4 VERSION="0.5.2" |
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@24538 | 9 WEB_SITE="https://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@24538 | 16 |
Hans-G?nter@20912 | 17 HOST_ARCH="i486 arm" |
pascal@16216 | 18 |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
pascal@16216 | 25 # Rules to configure and make the package. |
pascal@16216 | 26 compile_rules() |
pascal@16216 | 27 { |
pascal@16216 | 28 make |
pascal@16216 | 29 } |
pascal@16216 | 30 |
pascal@16216 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16216 | 32 genpkg_rules() |
pascal@16216 | 33 { |
pascal@16216 | 34 mkdir -p $fs/usr/bin |
Hans-G?nter@24538 | 35 |
Hans-G?nter@24538 | 36 cp -a $src/fbcat $fs/usr/bin |
Hans-G?nter@24538 | 37 cp -a $src/fbgrab $fs/usr/bin |
pascal@16216 | 38 } |