wok-6.x view fbida/receipt @ rev 25544

merkaartor: include localised messages in package
author Hans-G?nter Theisgen
date Sun Mar 12 15:58:49 2023 +0100 (21 months ago)
parents 8dbc179f0f97
children
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="https://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 }