wok-6.x view feh/receipt @ rev 19434

Up ncdu (1.12)
author Paul Issott <paul@slitaz.org>
date Sun Oct 02 19:36:14 2016 +0100 (2016-10-02)
parents 25e87a8bae2a
children e3f377fbc5f0
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"
13 HOST_ARCH="i486 arm"
15 DEPENDS="imlib2 giblib jpeg libpng xorg-libX11 freetype xorg-libXau \
16 xorg-libXdmcp xorg-libXext xorg-libXinerama libcurl"
17 BUILD_DEPENDS="imlib2-dev giblib-dev xorg-xproto xorg-xineramaproto \
18 xorg-libX11-dev libpng-dev jpeg-dev curl-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 }