wok-next annotate feh/receipt @ rev 21268
updated frogatto (1.3.1 -> 1.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 06 17:30:20 2019 +0100 (2019-12-06) |
parents | d5aab818505e |
children | b813d96bb65f |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
mallory@1133 | 2 |
mallory@1133 | 3 PACKAGE="feh" |
devl547@16280 | 4 VERSION="2.10" |
mallory@1133 | 5 CATEGORY="graphics" |
jozee@4936 | 6 SHORT_DESC="Lightweight and powerful image viewer and composer" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15593 | 8 LICENSE="MIT" |
al@21020 | 9 WEB_SITE="https://feh.finalrewind.org/" |
al@21020 | 10 |
slaxemulator@6510 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@20943 | 12 WGET_URL="https://feh.finalrewind.org/$TARBALL" |
mallory@1133 | 13 |
al@21078 | 14 BUILD_DEPENDS="imlib2-dev giblib-dev xorgproto \ |
al@21078 | 15 libx11-dev libpng-dev jpeg-dev curl-dev libxinerama-dev \ |
al@21078 | 16 libxt-dev" |
pankso@10442 | 17 |
al@21020 | 18 compile_rules() { |
al@21020 | 19 sed -i 's|/usr/local|/usr|g' config.mk |
al@21020 | 20 |
al@21020 | 21 make && |
al@21020 | 22 make DESTDIR=$install install || return 1 |
al@21020 | 23 |
pankso@16429 | 24 # Fix path to icon and remove from menu since it need a param to |
pankso@16429 | 25 # load images. |
al@21020 | 26 sed \ |
al@21020 | 27 -e 's|/home/slitaz/wok/feh/install||' \ |
al@21020 | 28 -e '/Categories.*/d' \ |
al@21020 | 29 -i $install/usr/share/applications/feh.desktop |
mallory@1133 | 30 } |
mallory@1133 | 31 |
al@21020 | 32 genpkg_rules() { |
al@21020 | 33 copy @std |
al@21078 | 34 DEPENDS="imlib2 giblib jpeg libpng libx11 freetype libxau \ |
al@21078 | 35 libxdmcp libxext libxinerama libcurl" |
al@21020 | 36 TAGS="image photo viewer" |
mallory@1133 | 37 } |