wok view viewnior/receipt @ rev 12750

move cross-* pkgs to undigest, we will use 'cross' for now
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 10 04:40:54 2012 +0200 (2012-05-10)
parents 8e4c74abdf74
children 5056100bfda3
line source
1 # SliTaz package receipt.
3 PACKAGE="viewnior"
4 VERSION="1.1"
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 libffi"
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 $MAKEFLAGS && 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 }