wok-stable view viewnior/receipt @ rev 5870

Up: printoxx 2.7
author Antoine Bodin <gokhlayeh@mailoo.org>
date Tue Jul 20 18:59:28 2010 +0200 (2010-07-20)
parents f917e0dfdfbd
children 296154874cf9
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 shared-mime-info-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 -j 4 && 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 }