wok-next view feh/receipt @ rev 2271
vacation: add BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 18 11:41:03 2009 +0000 (2009-02-18) |
parents | 7e57bf5a8f06 |
children | 3eacc9c96968 |
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"
9 BUILD_DEPENDS="imlib2-dev imlib2 giblib-dev giblib xorg-xproto xorg-xineramaproto xorg-libX11-dev libpng-dev jpeg-dev zlib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://linuxbrit.co.uk/feh/"
12 WGET_URL="http://linuxbrit.co.uk/downloads/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr
19 make
20 make DESTDIR=$src/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 mkdir -p $fs/usr/share/feh
28 mkdir -p $fs/usr/share/feh/fonts
29 mkdir -p $fs/usr/share/feh/images
31 cp -a $_pkg/usr/bin/feh $fs/usr/bin
32 cp -a $_pkg/usr/share/feh/fonts $fs/usr/share/feh
33 cp -a $_pkg/usr/share/feh/images $fs/usr/share/feh
34 }