wok-next annotate viewnior/receipt @ rev 15466
asterisk: add some addons
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 08 09:51:52 2013 +0000 (2013-11-08) |
parents | 2b9f96603415 |
children | e38430972970 |
rev | line source |
---|---|
pankso@4054 | 1 # SliTaz package receipt. |
pankso@4054 | 2 |
pankso@4054 | 3 PACKAGE="viewnior" |
devl547@13745 | 4 VERSION="1.3" |
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/" |
pankso@4054 | 11 WGET_URL="http://cloud.github.com/downloads/xsisqox/Viewnior/$TARBALL" |
jozee@4975 | 12 TAGS="image photo viewer" |
pankso@4054 | 13 |
pascal@14999 | 14 DEPENDS="gtk+" |
pascal@14999 | 15 BUILD_DEPENDS="gtk+-dev shared-mime-info-dev intltool libffi" |
pascal@14999 | 16 |
pankso@4054 | 17 # Rules to configure and make the package. |
pankso@4054 | 18 compile_rules() |
pankso@4054 | 19 { |
pankso@4054 | 20 cd $src |
pankso@4054 | 21 ./configure \ |
pankso@4054 | 22 --prefix=/usr \ |
pankso@4054 | 23 $CONFIGURE_ARGS && |
pascal@14999 | 24 make $MAKEFLAGS && make DESTDIR=$DESTDIR install |
pankso@4054 | 25 } |
pankso@4054 | 26 |
pankso@4054 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4054 | 28 genpkg_rules() |
pankso@4054 | 29 { |
monghitri@13991 | 30 mkdir -p $fs/usr/share/icons/hicolor/24x24 |
pascal@14999 | 31 cp -a $install/usr/bin $fs/usr |
pascal@14999 | 32 cp -a $install/usr/share/viewnior $fs/usr/share |
pascal@14999 | 33 cp -a $install/usr/share/icons/hicolor/24x24/apps \ |
monghitri@13991 | 34 $fs/usr/share/icons/hicolor/24x24 |
pankso@4054 | 35 } |