wok-6.x annotate viewnior/receipt @ rev 19181

cups: usb uri example
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 04 11:05:21 2016 +0200 (2016-06-04)
parents e38430972970
children 5fef02d1319c
rev   line source
pankso@4054 1 # SliTaz package receipt.
pankso@4054 2
pankso@4054 3 PACKAGE="viewnior"
devl547@16183 4 VERSION="1.4"
pankso@4054 5 CATEGORY="graphics"
pankso@4054 6 SHORT_DESC="Light and simple image viewer."
pankso@4054 7 MAINTAINER="pankso@slitaz.org"
pascal@15201 8 LICENSE="GPL3"
pankso@4054 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@4054 10 WEB_SITE="http://xsisqox.github.com/Viewnior/"
devl547@16183 11 WGET_URL="http://dl.dropboxusercontent.com/s/zytq0suabesv933/$TARBALL"
jozee@4975 12 TAGS="image photo viewer"
pankso@16269 13 HOST_ARCH="i486 arm"
pankso@4054 14
pankso@16269 15 DEPENDS="gtk+ libffi exiv2"
pankso@16269 16 BUILD_DEPENDS="gtk+-dev libffi-dev exiv2-dev"
pankso@16269 17
pankso@16269 18 case "$ARCH" in
pankso@16269 19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS shared-mime-info-dev" ;;
pankso@16269 20 esac
pascal@14999 21
pankso@4054 22 # Rules to configure and make the package.
pankso@4054 23 compile_rules()
pankso@4054 24 {
pankso@4054 25 ./configure \
pankso@4054 26 --prefix=/usr \
pankso@4054 27 $CONFIGURE_ARGS &&
pankso@16269 28 make $MAKEFLAGS && make install
pankso@4054 29 }
pankso@4054 30
pankso@4054 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4054 32 genpkg_rules()
pankso@4054 33 {
monghitri@13991 34 mkdir -p $fs/usr/share/icons/hicolor/24x24
pascal@14999 35 cp -a $install/usr/bin $fs/usr
pascal@14999 36 cp -a $install/usr/share/viewnior $fs/usr/share
pascal@14999 37 cp -a $install/usr/share/icons/hicolor/24x24/apps \
monghitri@13991 38 $fs/usr/share/icons/hicolor/24x24
pankso@4054 39 }