wok-stable view viewnior/receipt @ rev 5195

slitaz-doc: fix version for 3.0
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 28 17:16:33 2010 +0200 (2010-03-28)
parents e6d41ef9c0e5
children fdb181b1148e
line source
1 # SliTaz package receipt.
3 PACKAGE="viewnior"
4 VERSION="0.7"
5 CATEGORY="graphics"
6 SHORT_DESC="Light and simple image viewer."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+"
9 BUILD_DEPENDS="gtk+-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://xsisqox.github.com/Viewnior/"
12 WGET_URL="http://cloud.github.com/downloads/xsisqox/Viewnior/$TARBALL"
13 TAGS="image photo viewer"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 $CONFIGURE_ARGS &&
22 make && make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/pixmaps
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/viewnior $fs/usr/share
31 cp $_pkg/cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* \
32 $fs/usr/share/pixmaps
33 }