wok view feh/receipt @ rev 16160

gzip-full: add gzexe
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 28 22:16:01 2014 +0000 (2014-03-28)
parents ff4f18749cef
children f281cdc8af83
line source
1 # SliTaz package receipt
3 PACKAGE="feh"
4 VERSION="1.14.1"
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"
14 DEPENDS="imlib2 giblib jpeg libpng 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 libpng-dev jpeg-dev curl-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 sed -i -e 's:/usr/local:/usr:g' config.mk &&
24 make && make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 mkdir -p $fs/usr/share/feh
32 mkdir -p $fs/usr/share/feh/fonts
33 mkdir -p $fs/usr/share/feh/images
35 cp -a $install/usr/bin/feh $fs/usr/bin
36 cp -a $install/usr/share/feh/fonts $fs/usr/share/feh
37 cp -a $install/usr/share/feh/images $fs/usr/share/feh
38 }