wok-current view feh/receipt @ rev 8772

Up: phpvirtualbox to 4.0-3.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Feb 21 17:03:04 2011 +0000 (2011-02-21)
parents 716bc67de063
children 50467bb1d9b3
line source
1 # SliTaz package receipt
3 PACKAGE="feh"
4 VERSION="1.11"
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 giblib-dev xorg-xproto xorg-xineramaproto xorg-libX11-dev libpng-dev jpeg-dev zlib-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://derf.homelinux.org/~derf/projects/feh/"
13 WGET_URL="http://derf.homelinux.org/~derf/projects/$PACKAGE/$TARBALL"
14 TAGS="image photo viewer"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i -e 's:/usr/local:/usr:g' config.mk &&
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 }