wok-next view feh/receipt @ rev 21078
Update png and Xorg in dependencies.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 22 04:52:35 2018 +0200 (2018-12-22) |
parents | d5aab818505e |
children | b813d96bb65f |
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 xorgproto \
15 libx11-dev libpng-dev jpeg-dev curl-dev libxinerama-dev \
16 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 libpng libx11 freetype libxau \
35 libxdmcp libxext libxinerama libcurl"
36 TAGS="image photo viewer"
37 }