wok-6.x annotate viewnior/receipt @ rev 4764
Up: enlightenment to the last snapshot (2009-12-02)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jan 10 23:08:38 2010 +0100 (2010-01-10) |
parents | |
children | f917e0dfdfbd |
rev | line source |
---|---|
pankso@4054 | 1 # SliTaz package receipt. |
pankso@4054 | 2 |
pankso@4054 | 3 PACKAGE="viewnior" |
pankso@4054 | 4 VERSION="0.7" |
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+" |
pankso@4054 | 9 BUILD_DEPENDS="gtk+-dev" |
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" |
pankso@4054 | 13 |
pankso@4054 | 14 # Rules to configure and make the package. |
pankso@4054 | 15 compile_rules() |
pankso@4054 | 16 { |
pankso@4054 | 17 cd $src |
pankso@4054 | 18 ./configure \ |
pankso@4054 | 19 --prefix=/usr \ |
pankso@4054 | 20 $CONFIGURE_ARGS && |
pankso@4054 | 21 make && make DESTDIR=$PWD/_pkg install |
pankso@4054 | 22 } |
pankso@4054 | 23 |
pankso@4054 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4054 | 25 genpkg_rules() |
pankso@4054 | 26 { |
pankso@4054 | 27 mkdir -p $fs/usr/share/pixmaps |
pankso@4054 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@4054 | 29 cp -a $_pkg/usr/share/viewnior $fs/usr/share |
pankso@4054 | 30 cp $_pkg/cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* \ |
pankso@4054 | 31 $fs/usr/share/pixmaps |
pankso@4054 | 32 } |