wok annotate feh/receipt @ rev 1407
feh : fix depends
fix build-depends
fix receipt to copy yudit.ttf font and images
fix build-depends
fix receipt to copy yudit.ttf font and images
author | Mallory MOLLO <mallory@sweetpeople.org |
---|---|
date | Tue Sep 23 21:14:56 2008 +0200 (2008-09-23) |
parents | 7e57bf5a8f06 |
children | 3eacc9c96968 |
rev | line source |
---|---|
mallory@1133 | 1 # SliTaz package receipt |
mallory@1133 | 2 |
mallory@1133 | 3 PACKAGE="feh" |
mallory@1133 | 4 VERSION="1.3.4" |
mallory@1133 | 5 CATEGORY="graphics" |
mallory@1133 | 6 SHORT_DESC="Lightweight and powerfull image viewer and composer" |
mallory@1133 | 7 MAINTAINER="mallory@sweetpeople.org" |
mallory@1407 | 8 DEPENDS="imlib2 giblib jpeg libpng zlib xorg-libX11" |
mallory@1407 | 9 BUILD_DEPENDS="imlib2-dev imlib2 giblib-dev giblib xorg-xproto xorg-xineramaproto xorg-libX11-dev libpng-dev jpeg-dev zlib-dev" |
mallory@1133 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mallory@1133 | 11 WEB_SITE="http://linuxbrit.co.uk/feh/" |
mallory@1133 | 12 WGET_URL="http://linuxbrit.co.uk/downloads/$TARBALL" |
mallory@1133 | 13 |
mallory@1133 | 14 # Rules to configure and make the package. |
mallory@1133 | 15 compile_rules() |
mallory@1133 | 16 { |
mallory@1133 | 17 cd $src |
mallory@1133 | 18 ./configure --prefix=/usr |
mallory@1133 | 19 make |
mallory@1407 | 20 make DESTDIR=$src/_pkg install |
mallory@1133 | 21 } |
mallory@1133 | 22 |
mallory@1133 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@1133 | 24 genpkg_rules() |
mallory@1133 | 25 { |
mallory@1133 | 26 mkdir -p $fs/usr/bin |
mallory@1407 | 27 mkdir -p $fs/usr/share/feh |
mallory@1407 | 28 mkdir -p $fs/usr/share/feh/fonts |
mallory@1407 | 29 mkdir -p $fs/usr/share/feh/images |
mallory@1407 | 30 |
mallory@1133 | 31 cp -a $_pkg/usr/bin/feh $fs/usr/bin |
mallory@1407 | 32 cp -a $_pkg/usr/share/feh/fonts $fs/usr/share/feh |
mallory@1407 | 33 cp -a $_pkg/usr/share/feh/images $fs/usr/share/feh |
mallory@1133 | 34 } |