wok-6.x view viewnior/receipt @ rev 7163

linmodem-hsfmodem: do not assume build host kernel is up to date
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 07 16:40:05 2010 +0100 (2010-11-07)
parents fdb181b1148e
children 913d99141bbf
line source
1 # SliTaz package receipt.
3 PACKAGE="viewnior"
4 VERSION="1.0"
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 intltool"
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 -a $_pkg/usr/share/icons/hicolor/24x24/apps/* \
32 $fs/usr/share/pixmaps
33 }