wok-6.x annotate viewnior/receipt @ rev 19488
Update SliTaz projects: slitaz-base-files (312), slitaz-configs (295), slitaz-doc (158), slitaz-tools (1004), tazinst (83), tazlito (439), tazpanel (606), tazpkg (927), tazusb (192), tazweb (172).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 12 13:09:26 2016 +0200 (2016-11-12) |
parents | 5fef02d1319c |
children | 4b55a51aefa5 |
rev | line source |
---|---|
pankso@4054 | 1 # SliTaz package receipt. |
pankso@4054 | 2 |
pankso@4054 | 3 PACKAGE="viewnior" |
al@19261 | 4 VERSION="1.6" |
pankso@4054 | 5 CATEGORY="graphics" |
al@19261 | 6 SHORT_DESC="Fast and elegant image viewer" |
pankso@4054 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15201 | 8 LICENSE="GPL3" |
al@19261 | 9 WEB_SITE="http://siyanpanayotov.com/project/viewnior/" |
pankso@4054 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19261 | 11 WGET_URL="https://github.com/xsisqox/Viewnior/archive/$TARBALL" |
jozee@4975 | 12 TAGS="image photo viewer" |
pankso@16269 | 13 HOST_ARCH="i486 arm" |
pankso@4054 | 14 |
al@19261 | 15 DEPENDS="atk bzlib cairo exiv2 fontconfig freetype gcc-lib-base gdk-pixbuf \ |
al@19261 | 16 glib glibc-base gtk+ harfbuzz libffi libgio libpng libxcb libxml2 pango pcre \ |
al@19261 | 17 pixman xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender zlib" |
al@19261 | 18 BUILD_DEPENDS="automake libtool gtk+-dev exiv2-dev" |
pankso@16269 | 19 |
pankso@16269 | 20 case "$ARCH" in |
pankso@16269 | 21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS shared-mime-info-dev" ;; |
pankso@16269 | 22 esac |
pascal@14999 | 23 |
pankso@4054 | 24 # Rules to configure and make the package. |
pankso@4054 | 25 compile_rules() |
pankso@4054 | 26 { |
al@19261 | 27 mkdir -p $src/m4 |
al@19261 | 28 autoreconf -fi |
al@19261 | 29 ./configure $CONFIGURE_ARGS && make $MAKEFLAGS install |
al@19261 | 30 cook_compress_png |
al@19261 | 31 sed -i 's|^ *||' $install/usr/share/viewnior/*.ui |
pankso@4054 | 32 } |
pankso@4054 | 33 |
pankso@4054 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4054 | 35 genpkg_rules() |
pankso@4054 | 36 { |
al@19261 | 37 cook_copy_files viewnior *.ui |
al@19261 | 38 cook_copy_icons |
pankso@4054 | 39 } |