wok-next view viewnior/receipt @ rev 20441
linux, linux-dev: fix mess with i386|i486, update 32bit config
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 24 05:41:11 2018 +0200 (2018-02-24) |
parents | f463de72afe3 |
children | bce36a298f1e |
line source
1 # SliTaz package receipt.
3 PACKAGE="viewnior"
4 VERSION="1.6"
5 CATEGORY="graphics"
6 SHORT_DESC="Fast and elegant image viewer"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://siyanpanayotov.com/project/viewnior/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/xsisqox/Viewnior/archive/$TARBALL"
12 TAGS="image photo viewer"
13 HOST_ARCH="i486 arm"
15 DEPENDS="atk bzlib cairo exiv2 fontconfig freetype gcc-lib-base gdk-pixbuf \
16 glib glibc-base gtk+ harfbuzz libffi libpng libxcb libxml2 pango pcre \
17 pixman xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender zlib"
18 BUILD_DEPENDS="automake libtool gtk+-dev exiv2-dev intltool"
20 case "$ARCH" in
21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS shared-mime-info-dev" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir -p $src/m4
29 autoreconf -fi
30 ./configure $CONFIGURE_ARGS && make $MAKEFLAGS install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 copy viewnior *.ui
37 cook_copy_icons
38 }