wok-4.x view feh/receipt @ rev 7398
Fixed linmodem-hsfmodem to use linux-module-headers and to not make/remove /usr/src/linux folder since its in linux-module-headers.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Nov 26 21:13:44 2010 +0000 (2010-11-26) |
parents | fb8aceda65ff |
children | 716bc67de063 |
line source
1 # SliTaz package receipt
3 PACKAGE="feh"
4 VERSION="1.9"
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 imlib2 giblib-dev giblib 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 }