wok-current view feh/receipt @ rev 20775

updated cdrdao (1.2.3 -> 1.2.4)
author Hans-G?nter Theisgen
date Wed Feb 13 17:33:03 2019 +0100 (2019-02-13)
parents 28f3ef225377
children a91e008889b7
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="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 }