wok diff viewnior/receipt @ rev 19265
Compress manpages.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 04 10:05:09 2016 +0300 (2016-07-04) |
parents | 62b66edb40b5 |
children | 11b5e93cb5f2 |
line diff
1.1 --- a/viewnior/receipt Sat Apr 05 21:37:01 2014 +0200 1.2 +++ b/viewnior/receipt Mon Jul 04 10:05:09 2016 +0300 1.3 @@ -1,19 +1,21 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="viewnior" 1.7 -VERSION="1.4" 1.8 +VERSION="1.6" 1.9 CATEGORY="graphics" 1.10 -SHORT_DESC="Light and simple image viewer." 1.11 +SHORT_DESC="Fast and elegant image viewer" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="GPL3" 1.14 +WEB_SITE="http://siyanpanayotov.com/project/viewnior/" 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://xsisqox.github.com/Viewnior/" 1.17 -WGET_URL="http://dl.dropboxusercontent.com/s/zytq0suabesv933/$TARBALL" 1.18 +WGET_URL="https://github.com/xsisqox/Viewnior/archive/$TARBALL" 1.19 TAGS="image photo viewer" 1.20 HOST_ARCH="i486 arm" 1.21 1.22 -DEPENDS="gtk+ libffi exiv2" 1.23 -BUILD_DEPENDS="gtk+-dev libffi-dev exiv2-dev" 1.24 +DEPENDS="atk bzlib cairo exiv2 fontconfig freetype gcc-lib-base gdk-pixbuf \ 1.25 +glib glibc-base gtk+ harfbuzz libffi libgio libpng libxcb libxml2 pango pcre \ 1.26 +pixman xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender zlib" 1.27 +BUILD_DEPENDS="automake libtool gtk+-dev exiv2-dev" 1.28 1.29 case "$ARCH" in 1.30 i?86) BUILD_DEPENDS="$BUILD_DEPENDS shared-mime-info-dev" ;; 1.31 @@ -22,18 +24,17 @@ 1.32 # Rules to configure and make the package. 1.33 compile_rules() 1.34 { 1.35 - ./configure \ 1.36 - --prefix=/usr \ 1.37 - $CONFIGURE_ARGS && 1.38 - make $MAKEFLAGS && make install 1.39 + mkdir -p $src/m4 1.40 + autoreconf -fi 1.41 + ./configure $CONFIGURE_ARGS && make $MAKEFLAGS install 1.42 + cook_compress_manpages 1.43 + cook_compress_png 1.44 + sed -i 's|^ *||' $install/usr/share/viewnior/*.ui 1.45 } 1.46 1.47 # Rules to gen a SliTaz package suitable for Tazpkg. 1.48 genpkg_rules() 1.49 { 1.50 - mkdir -p $fs/usr/share/icons/hicolor/24x24 1.51 - cp -a $install/usr/bin $fs/usr 1.52 - cp -a $install/usr/share/viewnior $fs/usr/share 1.53 - cp -a $install/usr/share/icons/hicolor/24x24/apps \ 1.54 - $fs/usr/share/icons/hicolor/24x24 1.55 + cook_copy_files viewnior *.ui 1.56 + cook_copy_icons 1.57 }