wok annotate gqview/receipt @ rev 2299
slitaz-tools: fix typo
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 22 22:51:51 2009 +0100 (2009-02-22) |
parents | eb4e6a1af180 |
children | 8b79c3ee7ac2 |
rev | line source |
---|---|
pankso@43 | 1 # SliTaz package receipt. |
pankso@43 | 2 |
pankso@43 | 3 PACKAGE="gqview" |
pankso@43 | 4 VERSION="2.0.4" |
pankso@207 | 5 CATEGORY="graphics" |
pankso@43 | 6 SHORT_DESC="Images viewer and manager using GTK+." |
pankso@43 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@43 | 8 DEPENDS="gtk+" |
pascal@1511 | 9 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev" |
pankso@43 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@43 | 11 WEB_SITE="http://gqview.sourceforge.net/" |
pankso@43 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@43 | 13 |
pankso@43 | 14 # Rules to configure and make the package. |
pankso@43 | 15 compile_rules() |
pankso@43 | 16 { |
pankso@43 | 17 cd $src |
pankso@43 | 18 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@1511 | 19 $CONFIGURE_ARGS && |
pascal@1511 | 20 make && |
pankso@43 | 21 make DESTDIR=$PWD/_pkg install |
pankso@43 | 22 } |
pankso@43 | 23 |
pankso@43 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@43 | 25 genpkg_rules() |
pankso@43 | 26 { |
pankso@43 | 27 mkdir -p $fs/usr/share/locale |
pankso@43 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@43 | 29 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pankso@43 | 30 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@43 | 31 strip -s $fs/usr/bin/* |
pankso@43 | 32 } |