wok-current annotate 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 (3 months ago)
parents 63d5c5001e68
children
rev   line source
mallory@1133 1 # SliTaz package receipt
mallory@1133 2
mallory@1133 3 PACKAGE="feh"
Hans-G?nter@25536 4 VERSION="3.9.1"
mallory@1133 5 CATEGORY="graphics"
Hans-G?nter@22718 6 TAGS="image photo viewer"
Hans-G?nter@22718 7 SHORT_DESC="Lightweight and powerful image viewer and composer."
pankso@16429 8 MAINTAINER="pankso@slitaz.org"
pascal@15593 9 LICENSE="MIT"
Hans-G?nter@22718 10 WEB_SITE="https://feh.finalrewind.org/"
Hans-G?nter@22718 11
slaxemulator@6510 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@22718 13 WGET_URL="${WEB_SITE}$TARBALL"
Hans-G?nter@22718 14
Hans-G?nter@22718 15 DEPENDS="freetype gcc83-lib-base giblib imlib2 jpeg libcurl libpng xorg-libX11
Hans-G?nter@22718 16 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXinerama"
Hans-G?nter@22718 17 BUILD_DEPENDS="curl-dev gcc83 giblib-dev imlib2-dev jpeg-dev libpng-dev
Hans-G?nter@22718 18 xorg-libX11-dev xorg-xineramaproto xorg-xproto"
Hans-G?nter@22718 19
pankso@16360 20 HOST_ARCH="i486 arm"
mallory@1133 21
pascal@24433 22 # What is the latest version available today?
pascal@24433 23 current_version()
pascal@24433 24 {
pascal@24433 25 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24433 26 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*.*|\\1|" | sort -Vr | sed q
pascal@24433 27 }
pascal@24433 28
mallory@1133 29 # Rules to configure and make the package.
mallory@1133 30 compile_rules()
mallory@1133 31 {
Hans-G?nter@22718 32 make \
Hans-G?nter@22718 33 CC=gcc-83 \
Hans-G?nter@22718 34 PREFIX=/usr &&
Hans-G?nter@22718 35 make install \
Hans-G?nter@22718 36 PREFIX=/usr \
Hans-G?nter@24544 37 DESTDIR=$DESTDIR
Hans-G?nter@22718 38
Hans-G?nter@25536 39 # Remove from menu since it needs a parameter to load images.
Hans-G?nter@25536 40 sed -i -e '/Categories.*/'d \
pankso@16429 41 $DESTDIR/usr/share/applications/feh.desktop || return 1
mallory@1133 42 }
mallory@1133 43
mallory@1133 44 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@1133 45 genpkg_rules()
mallory@1133 46 {
Hans-G?nter@24544 47 cook_copy_folders bin
Hans-G?nter@24544 48 cook_copy_folders fonts
Hans-G?nter@24544 49 cook_copy_folders images
mallory@1133 50 }