wok-next annotate 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 |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
mallory@1133 | 2 |
mallory@1133 | 3 PACKAGE="feh" |
Hans-G?nter@21647 | 4 VERSION="3.4.1" |
mallory@1133 | 5 CATEGORY="graphics" |
Hans-G?nter@21647 | 6 TAGS="image photo viewer" |
jozee@4936 | 7 SHORT_DESC="Lightweight and powerful image viewer and composer" |
Hans-G?nter@21647 | 8 MAINTAINER="maintainer@slitaz.org" |
pascal@15593 | 9 LICENSE="MIT" |
al@21020 | 10 WEB_SITE="https://feh.finalrewind.org/" |
al@21020 | 11 |
slaxemulator@6510 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@20943 | 13 WGET_URL="https://feh.finalrewind.org/$TARBALL" |
mallory@1133 | 14 |
Hans-G?nter@21647 | 15 BUILD_DEPENDS="curl-dev giblib-dev imlib2-dev jpeg-dev libpng-dev |
Hans-G?nter@21647 | 16 libx11-dev libxinerama-dev libxt-dev xorgproto" |
pankso@10442 | 17 |
Hans-G?nter@21647 | 18 compile_rules() |
Hans-G?nter@21647 | 19 { |
al@21020 | 20 sed -i 's|/usr/local|/usr|g' config.mk |
al@21020 | 21 |
al@21020 | 22 make && |
al@21020 | 23 make DESTDIR=$install install || return 1 |
al@21020 | 24 |
Hans-G?nter@21647 | 25 # Fix path to icon and remove from menu since it needs a param to |
pankso@16429 | 26 # load images. |
Hans-G?nter@21647 | 27 sed -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 |
Hans-G?nter@21647 | 32 genpkg_rules() |
Hans-G?nter@21647 | 33 { |
al@21020 | 34 copy @std |
Hans-G?nter@21647 | 35 DEPENDS="freetype giblib imlib2 jpeg libcurl libpng libx11 libxau |
Hans-G?nter@21647 | 36 libxdmcp libxext libxinerama" |
mallory@1133 | 37 } |