wok-next annotate gqview/receipt @ rev 20513

A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 21 15:58:17 2018 +0200 (2018-03-21)
parents b630bd498153
children f48456621a9d
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"
pascal@15589 8 LICENSE="GPL2"
pankso@43 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@43 10 WEB_SITE="http://gqview.sourceforge.net/"
pankso@43 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@43 12
pascal@15589 13 DEPENDS="gtk+ xorg-libXdamage"
al@20513 14 BUILD_DEPENDS="gtk+-dev gettext-tools"
pascal@15589 15
pankso@43 16 # Rules to configure and make the package.
pankso@43 17 compile_rules()
pankso@43 18 {
pascal@17670 19 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
pankso@43 20 ./configure --prefix=/usr --mandir=/usr/share/man \
pascal@1511 21 $CONFIGURE_ARGS &&
pascal@1511 22 make &&
pascal@15589 23 make DESTDIR=$DESTDIR install
pankso@43 24 }
pankso@43 25
pankso@43 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@43 27 genpkg_rules()
pankso@43 28 {
pankso@43 29 mkdir -p $fs/usr/share/locale
pascal@15589 30 cp -a $install/usr/bin $fs/usr
pascal@15589 31 cp -a $install/usr/share/pixmaps $fs/usr/share
pascal@15589 32 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
pankso@43 33 }