wok-next view feh/receipt @ rev 20976
Follow recent changes in the Python renames
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Sep 25 17:35:51 2018 +0300 (2018-09-25) |
parents | f99935f1778a |
children | d5aab818505e |
line source
1 # SliTaz package receipt
3 PACKAGE="feh"
4 VERSION="2.10"
5 CATEGORY="graphics"
6 SHORT_DESC="Lightweight and powerful image viewer and composer"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://feh.finalrewind.org/"
11 WGET_URL="https://feh.finalrewind.org/$TARBALL"
12 TAGS="image photo viewer"
14 DEPENDS="imlib2 giblib jpeg libpng16 xorg-libX11 freetype xorg-libXau \
15 xorg-libXdmcp xorg-libXext xorg-libXinerama libcurl"
16 BUILD_DEPENDS="imlib2-dev giblib-dev xorg-xorgproto \
17 xorg-libX11-dev libpng16-dev jpeg-dev curl-dev xorg-libXinerama-dev \
18 xorg-libXt-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i -e 's:/usr/local:/usr:g' config.mk &&
24 make && make DESTDIR=$DESTDIR install &&
25 # Fix path to icon and remove from menu since it need a param to
26 # load images.
27 sed -i \
28 -e s'#/home/slitaz/wok/feh/install##' \
29 -e '/Categories.*/'d \
30 $DESTDIR/usr/share/applications/feh.desktop || return 1
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 mkdir -p $fs/usr/share/feh
38 mkdir -p $fs/usr/share/feh/fonts
39 mkdir -p $fs/usr/share/feh/images
41 cp -a $install/usr/bin/feh $fs/usr/bin
42 cp -a $install/usr/share/feh/fonts $fs/usr/share/feh
43 cp -a $install/usr/share/feh/images $fs/usr/share/feh
44 }