wok view fbgrab/receipt @ rev 25477

icedtea6-jdk: find output to variable
author Hans-G?nter Theisgen
date Thu Oct 13 17:53:47 2022 +0100 (19 months ago)
parents 535c806240cc
children 20ad21d5532c
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 }