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

ARM add feh
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 13 21:32:47 2014 +0200 (2014-04-13)
parents f281cdc8af83
children 28f3ef225377
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="mallory@sweetpeople.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 cd $src
24 sed -i -e 's:/usr/local:/usr:g' config.mk &&
25 make && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 mkdir -p $fs/usr/share/feh
33 mkdir -p $fs/usr/share/feh/fonts
34 mkdir -p $fs/usr/share/feh/images
36 cp -a $install/usr/bin/feh $fs/usr/bin
37 cp -a $install/usr/share/feh/fonts $fs/usr/share/feh
38 cp -a $install/usr/share/feh/images $fs/usr/share/feh
39 }