wok-next view feh/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents 5669e8b3be70
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="feh"
4 VERSION="3.4.1"
5 CATEGORY="graphics"
6 TAGS="image photo viewer"
7 SHORT_DESC="Lightweight and powerful image viewer and composer"
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://feh.finalrewind.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://feh.finalrewind.org/$TARBALL"
15 BUILD_DEPENDS="curl-dev giblib-dev imlib2-dev jpeg-dev libpng-dev
16 libx11-dev libxinerama-dev libxt-dev xorgproto"
18 compile_rules()
19 {
20 sed -i 's|/usr/local|/usr|g' config.mk
22 make &&
23 make DESTDIR=$install install || return 1
25 # Fix path to icon and remove from menu since it needs a param to
26 # load images.
27 sed -e 's|/home/slitaz/wok/feh/install||' \
28 -e '/Categories.*/d' \
29 -i $install/usr/share/applications/feh.desktop
30 }
32 genpkg_rules()
33 {
34 copy @std
35 DEPENDS="freetype giblib imlib2 jpeg libcurl libpng libx11 libxau
36 libxdmcp libxext libxinerama"
37 }