wok view viewnior/receipt @ rev 18290
Up: tazpkg(834)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 14 16:57:11 2015 +0300 (2015-08-14) |
parents | e38430972970 |
children | 5fef02d1319c |
line source
1 # SliTaz package receipt.
3 PACKAGE="viewnior"
4 VERSION="1.4"
5 CATEGORY="graphics"
6 SHORT_DESC="Light and simple image viewer."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://xsisqox.github.com/Viewnior/"
11 WGET_URL="http://dl.dropboxusercontent.com/s/zytq0suabesv933/$TARBALL"
12 TAGS="image photo viewer"
13 HOST_ARCH="i486 arm"
15 DEPENDS="gtk+ libffi exiv2"
16 BUILD_DEPENDS="gtk+-dev libffi-dev exiv2-dev"
18 case "$ARCH" in
19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS shared-mime-info-dev" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --prefix=/usr \
27 $CONFIGURE_ARGS &&
28 make $MAKEFLAGS && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/icons/hicolor/24x24
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/share/viewnior $fs/usr/share
37 cp -a $install/usr/share/icons/hicolor/24x24/apps \
38 $fs/usr/share/icons/hicolor/24x24
39 }