wok view feh/receipt @ rev 12088

busybox: su should not chdir (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 09:31:50 2012 +0100 (2012-03-10)
parents 50467bb1d9b3
children 3b4e4318134e
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://derf.homelinux.org/~derf/projects/feh/"
10 WGET_URL="http://derf.homelinux.org/~derf/projects/$PACKAGE/$TARBALL"
11 TAGS="image photo viewer"
13 DEPENDS="imlib2 giblib jpeg libpng xorg-libX11 freetype xorg-libXau \
14 xorg-libXdmcp xorg-libXext xorg-libXinerama libcurl"
15 BUILD_DEPENDS="imlib2-dev giblib-dev xorg-xproto xorg-xineramaproto \
16 xorg-libX11-dev libpng-dev jpeg-dev curl-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i -e 's:/usr/local:/usr:g' config.mk &&
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin
30 mkdir -p $fs/usr/share/feh
31 mkdir -p $fs/usr/share/feh/fonts
32 mkdir -p $fs/usr/share/feh/images
34 cp -a $_pkg/usr/bin/feh $fs/usr/bin
35 cp -a $_pkg/usr/share/feh/fonts $fs/usr/share/feh
36 cp -a $_pkg/usr/share/feh/images $fs/usr/share/feh
37 }