wok-next view viewnior/receipt @ rev 19289
buildbot: fix typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jul 06 10:44:58 2016 +0300 (2016-07-06) |
parents | 5fef02d1319c |
children | 4b55a51aefa5 |
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 libgio 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"
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
28 autoreconf -fi
29 ./configure $CONFIGURE_ARGS && make $MAKEFLAGS install
30 cook_compress_png
31 sed -i 's|^ *||' $install/usr/share/viewnior/*.ui
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_files viewnior *.ui
38 cook_copy_icons
39 }