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

putty: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 10 10:28:33 2010 +0100 (2010-02-10)
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 }