wok-next view viewnior/receipt @ rev 19264
Compress manpages (in $install/usr/share/man/...)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 04 00:54:49 2016 +0300 (2016-07-04) |
parents | 62b66edb40b5 |
children | 11b5e93cb5f2 |
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_manpages
31 cook_compress_png
32 sed -i 's|^ *||' $install/usr/share/viewnior/*.ui
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_files viewnior *.ui
39 cook_copy_icons
40 }