wok-current view viewnior/receipt @ rev 15685
linux-lxc: add post_install() for update menu.lst
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Dec 21 07:21:07 2013 +0100 (2013-12-21) |
parents | 2b9f96603415 |
children | e38430972970 |
line source
1 # SliTaz package receipt.
3 PACKAGE="viewnior"
4 VERSION="1.3"
5 CATEGORY="graphics"
6 SHORT_DESC="Light and simple image viewer."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://xsisqox.github.com/Viewnior/"
11 WGET_URL="http://cloud.github.com/downloads/xsisqox/Viewnior/$TARBALL"
12 TAGS="image photo viewer"
14 DEPENDS="gtk+"
15 BUILD_DEPENDS="gtk+-dev shared-mime-info-dev intltool libffi"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make $MAKEFLAGS && make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/icons/hicolor/24x24
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share/viewnior $fs/usr/share
33 cp -a $install/usr/share/icons/hicolor/24x24/apps \
34 $fs/usr/share/icons/hicolor/24x24
35 }