wok-next view feh/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 6befec62b46c |
children | 5669e8b3be70 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="feh"
4 VERSION="2.10"
5 CATEGORY="graphics"
6 SHORT_DESC="Lightweight and powerful image viewer and composer"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://feh.finalrewind.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://feh.finalrewind.org/$TARBALL"
14 BUILD_DEPENDS="imlib2-dev giblib-dev xorg-xorgproto \
15 xorg-libX11-dev libpng16-dev jpeg-dev curl-dev xorg-libXinerama-dev \
16 xorg-libXt-dev"
18 compile_rules() {
19 sed -i 's|/usr/local|/usr|g' config.mk
21 make &&
22 make DESTDIR=$install install || return 1
24 # Fix path to icon and remove from menu since it need a param to
25 # load images.
26 sed \
27 -e 's|/home/slitaz/wok/feh/install||' \
28 -e '/Categories.*/d' \
29 -i $install/usr/share/applications/feh.desktop
30 }
32 genpkg_rules() {
33 copy @std
34 DEPENDS="imlib2 giblib jpeg libpng16 xorg-libX11 freetype xorg-libXau \
35 xorg-libXdmcp xorg-libXext xorg-libXinerama libcurl"
36 TAGS="image photo viewer"
37 }