wok annotate feh/receipt @ rev 24263
updated perl-time-hires (1.9760 -> 1.9764)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:20:35 2022 +0100 (2022-01-02) |
parents | e3f377fbc5f0 |
children | ad8b9ff412d2 |
rev | line source |
---|---|
mallory@1133 | 1 # SliTaz package receipt |
mallory@1133 | 2 |
mallory@1133 | 3 PACKAGE="feh" |
Hans-G?nter@22718 | 4 VERSION="3.3" |
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 |
mallory@1133 | 22 # Rules to configure and make the package. |
mallory@1133 | 23 compile_rules() |
mallory@1133 | 24 { |
Hans-G?nter@22718 | 25 make \ |
Hans-G?nter@22718 | 26 CC=gcc-83 \ |
Hans-G?nter@22718 | 27 PREFIX=/usr && |
Hans-G?nter@22718 | 28 make install \ |
Hans-G?nter@22718 | 29 PREFIX=/usr \ |
Hans-G?nter@22718 | 30 DESTDIR=$DESTDIR && |
Hans-G?nter@22718 | 31 |
pankso@16429 | 32 # Fix path to icon and remove from menu since it need a param to |
pankso@16429 | 33 # load images. |
pankso@16429 | 34 sed -i \ |
pankso@16429 | 35 -e s'#/home/slitaz/wok/feh/install##' \ |
pankso@16429 | 36 -e '/Categories.*/'d \ |
pankso@16429 | 37 $DESTDIR/usr/share/applications/feh.desktop || return 1 |
mallory@1133 | 38 } |
mallory@1133 | 39 |
mallory@1133 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@1133 | 41 genpkg_rules() |
mallory@1133 | 42 { |
mallory@1133 | 43 mkdir -p $fs/usr/bin |
mallory@1407 | 44 mkdir -p $fs/usr/share/feh/fonts |
mallory@1407 | 45 mkdir -p $fs/usr/share/feh/images |
mallory@1407 | 46 |
Hans-G?nter@22718 | 47 cp -a $install/usr/bin/feh $fs/usr/bin |
Hans-G?nter@22718 | 48 cp -a $install/usr/share/feh/fonts $fs/usr/share/feh |
Hans-G?nter@22718 | 49 cp -a $install/usr/share/feh/images $fs/usr/share/feh |
mallory@1133 | 50 } |