wok-current view fbida/receipt @ rev 24167

Up tazlito (533), again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 28 16:40:30 2021 +0000 (2021-12-28)
parents a3c45ab9082e
children 73f36875e5a7
line source
1 # SliTaz package receipt.
3 PACKAGE="fbida"
4 VERSION="2.09"
5 CATEGORY="utilities"
6 SHORT_DESC="Image viewer for the framebuffer console"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://linux.bytesex.org/fbida/"
11 WGET_URL="http://dl.bytesex.org/releases/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="libpng giflib tiff jpeg ttf-bitstream-vera libexif zlib \
15 libcurl freetype fontconfig"
16 BUILD_DEPENDS="freetype-dev fontconfig-dev libexif-dev curl-dev jpeg-dev \
17 libpng-dev tiff-dev openmotif-dev sane-backends-dev"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ln -s 80 jpeg/90
29 sed 's/.#include <jpeglib.h>.n//;s/| cpp /&-include jpeglib.h /' -i GNUmakefile
30 make
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 for tool in fbi fbgs exiftran; do
38 cp -a ${src}/${tool} $fs/usr/bin
39 done
40 }