wok-next view feh/receipt @ rev 20667
qemu/qemu-light: race condition, ppp/sane-backends: set group
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 11 09:27:12 2018 +0200 (2018-05-11) |
parents | dd145c435e4b |
children | f99935f1778a |
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="http://derf.homelinux.org/~derf/projects/feh/"
11 WGET_URL="http://derf.homelinux.org/~derf/projects/$PACKAGE/$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-xproto xorg-xineramaproto \
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 }