wok annotate fbcat/receipt @ rev 25808

created recipe for xmenu
author Hans-G?nter Theisgen
date Thu Dec 19 16:09:37 2024 +0100 (5 days ago)
parents 68c1e9cdd4f9
children
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@25599 19 # What is the latest version available today?
pascal@24055 20 current_version()
pascal@24055 21 {
pascal@24055 22 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@25599 23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 24 }
pascal@24055 25
pascal@16216 26 # Rules to configure and make the package.
pascal@16216 27 compile_rules()
pascal@16216 28 {
pascal@16216 29 make
pascal@16216 30 }
pascal@16216 31
pascal@16216 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16216 33 genpkg_rules()
pascal@16216 34 {
pascal@16216 35 mkdir -p $fs/usr/bin
Hans-G?nter@24538 36
Hans-G?nter@24538 37 cp -a $src/fbcat $fs/usr/bin
Hans-G?nter@24538 38 cp -a $src/fbgrab $fs/usr/bin
pascal@16216 39 }