wok view fbgrab/receipt @ rev 25656

Up fwknop (2.6.11)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 09 11:08:06 2024 +0000 (9 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 }