wok-stable view viewnior/receipt @ rev 4054

Add: viewnior (Light image viewer)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Sep 09 21:49:39 2009 +0200 (2009-09-09)
parents
children f917e0dfdfbd
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 $CONFIGURE_ARGS &&
21 make && make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/pixmaps
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/viewnior $fs/usr/share
30 cp $_pkg/cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* \
31 $fs/usr/share/pixmaps
32 }