wok view feh/receipt @ rev 3997
ocaml: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 30 23:47:30 2009 +0200 (2009-08-30) |
parents | bd6a02acbdf9 |
children | fb8aceda65ff |
line source
1 # SliTaz package receipt
3 PACKAGE="feh"
4 VERSION="1.3.4"
5 CATEGORY="graphics"
6 SHORT_DESC="Lightweight and powerfull 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"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr &&
20 make &&
21 make DESTDIR=$src/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 mkdir -p $fs/usr/share/feh
29 mkdir -p $fs/usr/share/feh/fonts
30 mkdir -p $fs/usr/share/feh/images
32 cp -a $_pkg/usr/bin/feh $fs/usr/bin
33 cp -a $_pkg/usr/share/feh/fonts $fs/usr/share/feh
34 cp -a $_pkg/usr/share/feh/images $fs/usr/share/feh
35 }