wok view feh/receipt @ rev 25124

updated apache-mod-perl (2.0.8 -> 2.0.11)
author Hans-G?nter Theisgen
date Tue Jun 28 16:23:55 2022 +0100 (22 months ago)
parents ad8b9ff412d2
children 51faf25c8816
line source
1 # SliTaz package receipt
3 PACKAGE="feh"
4 VERSION="3.8"
5 CATEGORY="graphics"
6 TAGS="image photo viewer"
7 SHORT_DESC="Lightweight and powerful image viewer and composer."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://feh.finalrewind.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="${WEB_SITE}$TARBALL"
15 DEPENDS="freetype gcc83-lib-base giblib imlib2 jpeg libcurl libpng xorg-libX11
16 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXinerama"
17 BUILD_DEPENDS="curl-dev gcc83 giblib-dev imlib2-dev jpeg-dev libpng-dev
18 xorg-libX11-dev xorg-xineramaproto xorg-xproto"
20 HOST_ARCH="i486 arm"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - ${WGET_URL%/*} 2>/dev/null | \
26 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*.*|\\1|" | sort -Vr | sed q
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 make \
33 CC=gcc-83 \
34 PREFIX=/usr &&
35 make install \
36 PREFIX=/usr \
37 DESTDIR=$DESTDIR
39 # Remove from menu since it needs a param to
40 # load images.
41 sed -i \
42 -e '/Categories.*/'d \
43 $DESTDIR/usr/share/applications/feh.desktop || return 1
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 cook_copy_folders bin
50 cook_copy_folders fonts
51 cook_copy_folders images
52 }