wok-6.x annotate viewnior/receipt @ rev 14347
tcc-common: move win32 stuff to tcc-win32
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 14 15:20:07 2013 +0200 (2013-04-14) |
parents | 0ead9e33e6b5 |
children | 2b9f96603415 |
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" |
pankso@4054 | 8 DEPENDS="gtk+" |
pascal@11581 | 9 BUILD_DEPENDS="gtk+-dev shared-mime-info-dev intltool libffi" |
pankso@4054 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4054 | 11 WEB_SITE="http://xsisqox.github.com/Viewnior/" |
pankso@4054 | 12 WGET_URL="http://cloud.github.com/downloads/xsisqox/Viewnior/$TARBALL" |
jozee@4975 | 13 TAGS="image photo viewer" |
pankso@4054 | 14 |
pankso@4054 | 15 # Rules to configure and make the package. |
pankso@4054 | 16 compile_rules() |
pankso@4054 | 17 { |
pankso@4054 | 18 cd $src |
pankso@4054 | 19 ./configure \ |
pankso@4054 | 20 --prefix=/usr \ |
pankso@4054 | 21 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 22 make $MAKEFLAGS && make DESTDIR=$PWD/_pkg install |
pankso@4054 | 23 } |
pankso@4054 | 24 |
pankso@4054 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4054 | 26 genpkg_rules() |
pankso@4054 | 27 { |
monghitri@13991 | 28 mkdir -p $fs/usr/share/icons/hicolor/24x24 |
pankso@4054 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@4054 | 30 cp -a $_pkg/usr/share/viewnior $fs/usr/share |
monghitri@13991 | 31 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps \ |
monghitri@13991 | 32 $fs/usr/share/icons/hicolor/24x24 |
pankso@4054 | 33 } |