wok-current view feh/receipt @ rev 25713
Up abiword (3.0.5), libwmf (0.2.13), fix wv url
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Jun 14 11:35:21 2024 +0000 (2 months ago) |
parents | 63d5c5001e68 |
children |
line source
1 # SliTaz package receipt
3 PACKAGE="feh"
4 VERSION="3.9.1"
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 parameter to load images.
40 sed -i -e '/Categories.*/'d \
41 $DESTDIR/usr/share/applications/feh.desktop || return 1
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 cook_copy_folders bin
48 cook_copy_folders fonts
49 cook_copy_folders images
50 }