wok-current annotate fbida/receipt @ rev 25715

Adjust deps between abiword / abiword-plugins
author Stanislas Leduc <shann@slitaz.org>
date Fri Jun 14 11:52:43 2024 +0000 (5 months ago)
parents 8dbc179f0f97
children
rev   line source
devl547@6115 1 # SliTaz package receipt.
devl547@6115 2
devl547@6115 3 PACKAGE="fbida"
pankso@16095 4 VERSION="2.09"
pascal@6138 5 CATEGORY="utilities"
mojo@14205 6 SHORT_DESC="Image viewer for the framebuffer console"
devl547@6115 7 MAINTAINER="devl547@gmail.com"
pascal@15001 8 LICENSE="GPL2"
devl547@6115 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25540 10 WEB_SITE="https://linux.bytesex.org/fbida/"
devl547@6115 11 WGET_URL="http://dl.bytesex.org/releases/$PACKAGE/$TARBALL"
pankso@16095 12 HOST_ARCH="i486 arm"
devl547@6115 13
pankso@9960 14 DEPENDS="libpng giflib tiff jpeg ttf-bitstream-vera libexif zlib \
mojo@14205 15 libcurl freetype fontconfig"
pascal@18384 16 BUILD_DEPENDS="freetype-dev fontconfig-dev libexif-dev curl-dev jpeg-dev \
pascal@24087 17 libpng-dev tiff-dev openmotif-dev sane-backends-dev"
pankso@9960 18
pascal@24083 19 current_version()
pascal@24083 20 {
pascal@24083 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24083 22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24083 23 }
pascal@24083 24
devl547@6115 25 # Rules to configure and make the package.
devl547@6115 26 compile_rules()
devl547@6115 27 {
pascal@21122 28 ln -s 80 jpeg/90
pascal@24087 29 sed 's/.#include <jpeglib.h>.n//;s/| cpp /&-include jpeglib.h /' -i GNUmakefile
pankso@16095 30 make
devl547@6115 31 }
devl547@6115 32
devl547@6115 33 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@6115 34 genpkg_rules()
devl547@6115 35 {
pankso@16095 36 mkdir -p $fs/usr/bin
pankso@16095 37 for tool in fbi fbgs exiftran; do
pankso@16095 38 cp -a ${src}/${tool} $fs/usr/bin
pankso@16095 39 done
devl547@6115 40 }