wok view fbgrab/receipt @ rev 25599
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 16 13:38:12 2023 +0000 (16 months ago) |
parents | ca9faecbdfad |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="fbgrab"
4 VERSION="1.5"
5 CATEGORY="misc"
6 SHORT_DESC="Frame buffer grabber."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/GunnarMonell/fbgrab"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
14 DEPENDS="libpng zlib"
15 BUILD_DEPENDS="libpng-dev zlib-dev"
17 HOST_ARCH="i486 arm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://github.com/GunnarMonell/fbgrab/releases 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 #sed -i '/splint/d' Makefile
30 make
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 cp $src/fbgrab $fs/usr/bin
38 }