wok annotate feh/receipt @ rev 24918
updated moosefs (3.0.111 -> 3.0.116)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 10 06:58:04 2022 +0100 (2022-04-10) |
parents | ad8b9ff412d2 |
children | 51faf25c8816 |
rev | line source |
---|---|
mallory@1133 | 1 # SliTaz package receipt |
mallory@1133 | 2 |
mallory@1133 | 3 PACKAGE="feh" |
Hans-G?nter@24544 | 4 VERSION="3.8" |
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@24544 | 39 # Remove from menu since it needs a param to |
pankso@16429 | 40 # load images. |
pankso@16429 | 41 sed -i \ |
pankso@16429 | 42 -e '/Categories.*/'d \ |
pankso@16429 | 43 $DESTDIR/usr/share/applications/feh.desktop || return 1 |
mallory@1133 | 44 } |
mallory@1133 | 45 |
mallory@1133 | 46 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@1133 | 47 genpkg_rules() |
mallory@1133 | 48 { |
Hans-G?nter@24544 | 49 cook_copy_folders bin |
Hans-G?nter@24544 | 50 cook_copy_folders fonts |
Hans-G?nter@24544 | 51 cook_copy_folders images |
mallory@1133 | 52 } |