wok-6.x view fbgrab/receipt @ rev 25554

Up fakeroot (1.31)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 12 20:31:24 2023 +0000 (19 months ago)
parents 535c806240cc
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 '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;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 }