wok annotate fbgrab/receipt @ rev 24937

Up iptraf (3.0.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 14 08:53:05 2022 +0000 (2022-04-14)
parents 535c806240cc
children 20ad21d5532c
rev   line source
pascal@13229 1 # SliTaz package receipt.
pascal@13229 2
pascal@13229 3 PACKAGE="fbgrab"
Hans-G?nter@24539 4 VERSION="1.5"
pascal@13229 5 CATEGORY="misc"
pascal@13229 6 SHORT_DESC="Frame buffer grabber."
pascal@13229 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
Hans-G?nter@24539 9 WEB_SITE="https://github.com/GunnarMonell/fbgrab"
Hans-G?nter@20914 10
pascal@13229 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24539 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
pascal@13229 13
pascal@13229 14 DEPENDS="libpng zlib"
pascal@13229 15 BUILD_DEPENDS="libpng-dev zlib-dev"
Hans-G?nter@24539 16
Hans-G?nter@20914 17 HOST_ARCH="i486 arm"
pascal@13229 18
pascal@24465 19 # What is the latest version available today?
pascal@24465 20 current_version()
pascal@24465 21 {
pascal@24465 22 wget -O - https://github.com/GunnarMonell/fbgrab/releases 2>/dev/null | \
pascal@24465 23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24465 24 }
pascal@24465 25
pascal@13229 26 # Rules to configure and make the package.
pascal@13229 27 compile_rules()
pascal@13229 28 {
pankso@16095 29 #sed -i '/splint/d' Makefile
pascal@13229 30 make
pascal@13229 31 }
pascal@13229 32
pascal@13229 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13229 34 genpkg_rules()
pascal@13229 35 {
pascal@13229 36 mkdir -p $fs/usr/bin
Hans-G?nter@24539 37 cp $src/fbgrab $fs/usr/bin
pascal@13229 38 }