wok-current view viewnior/receipt @ rev 10124
gource: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 16:39:19 2011 +0000 (2011-05-20) |
parents | 296154874cf9 |
children | 8e4c74abdf74 |
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"
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 }