wok-6.x view feh/receipt @ rev 10255
Add rake.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 21 04:00:00 2011 +0000 (2011-05-21) |
parents | 9a2bbff150de |
children | ff4f18749cef |
line source
1 # SliTaz package receipt
3 PACKAGE="feh"
4 VERSION="1.14.1"
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=$DESTDIR 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 }