wok-6.x view feh/receipt @ rev 22832

cortex libQtMimeTypes: normalize $VERSION
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 08 13:09:52 2020 +0100 (2020-02-08)
parents e3f377fbc5f0
children ad8b9ff412d2
line source
1 # SliTaz package receipt
3 PACKAGE="feh"
4 VERSION="3.3"
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 # Rules to configure and make the package.
23 compile_rules()
24 {
25 make \
26 CC=gcc-83 \
27 PREFIX=/usr &&
28 make install \
29 PREFIX=/usr \
30 DESTDIR=$DESTDIR &&
32 # Fix path to icon and remove from menu since it need a param to
33 # load images.
34 sed -i \
35 -e s'#/home/slitaz/wok/feh/install##' \
36 -e '/Categories.*/'d \
37 $DESTDIR/usr/share/applications/feh.desktop || return 1
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/bin
44 mkdir -p $fs/usr/share/feh/fonts
45 mkdir -p $fs/usr/share/feh/images
47 cp -a $install/usr/bin/feh $fs/usr/bin
48 cp -a $install/usr/share/feh/fonts $fs/usr/share/feh
49 cp -a $install/usr/share/feh/images $fs/usr/share/feh
50 }