wok-stable view feh/receipt @ rev 5982

nut: fix genpkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 13 21:34:30 2010 +0200 (2010-08-13)
parents 3eacc9c96968
children 7933717f23d2
line source
1 # SliTaz package receipt
3 PACKAGE="feh"
4 VERSION="1.3.4"
5 CATEGORY="graphics"
6 SHORT_DESC="Lightweight and powerful image viewer and composer"
7 MAINTAINER="mallory@sweetpeople.org"
8 DEPENDS="imlib2 giblib jpeg libpng zlib xorg-libX11 freetype xorg-libXau \
9 xorg-libXdmcp xorg-libXext xorg-libXinerama"
10 BUILD_DEPENDS="imlib2-dev imlib2 giblib-dev giblib xorg-xproto xorg-xineramaproto xorg-libX11-dev libpng-dev jpeg-dev zlib-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://linuxbrit.co.uk/feh/"
13 WGET_URL="http://linuxbrit.co.uk/downloads/$TARBALL"
14 TAGS="image photo viewer"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr &&
21 make &&
22 make DESTDIR=$src/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 mkdir -p $fs/usr/share/feh
30 mkdir -p $fs/usr/share/feh/fonts
31 mkdir -p $fs/usr/share/feh/images
33 cp -a $_pkg/usr/bin/feh $fs/usr/bin
34 cp -a $_pkg/usr/share/feh/fonts $fs/usr/share/feh
35 cp -a $_pkg/usr/share/feh/images $fs/usr/share/feh
36 }