wok-6.x annotate gqview/receipt @ rev 21475

updated mozplugger (1.14.3 -> 2.1.6)
author Hans-G?nter Theisgen
date Wed May 01 07:45:28 2019 +0100 (2019-05-01)
parents 17e313b5b9c1
children 932cd974e081
rev   line source
pankso@43 1 # SliTaz package receipt.
pankso@43 2
pankso@43 3 PACKAGE="gqview"
Hans-G?nter@20998 4 VERSION="2.1.5"
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"
Hans-G?nter@20998 9 WEB_SITE="https://gqview.sourceforge.io/"
Hans-G?nter@20998 10
pankso@43 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@43 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@43 13
pascal@15589 14 DEPENDS="gtk+ xorg-libXdamage"
pascal@15589 15 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev"
pascal@15589 16
pankso@43 17 # Rules to configure and make the package.
pankso@43 18 compile_rules()
pankso@43 19 {
pascal@17670 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
Hans-G?nter@20998 21
Hans-G?nter@20998 22 ./configure \
Hans-G?nter@20998 23 --prefix=/usr \
Hans-G?nter@20998 24 --mandir=/usr/share/man \
Hans-G?nter@20998 25 $CONFIGURE_ARGS &&
Hans-G?nter@20998 26 make -j 1 &&
pascal@15589 27 make DESTDIR=$DESTDIR install
pankso@43 28 }
pankso@43 29
pankso@43 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@43 31 genpkg_rules()
pankso@43 32 {
pankso@43 33 mkdir -p $fs/usr/share/locale
Hans-G?nter@20998 34 cp -a $install/usr/bin $fs/usr
Hans-G?nter@20998 35 cp -a $install/usr/share/pixmaps $fs/usr/share
Hans-G?nter@20998 36
Hans-G?nter@20998 37 # locales
Hans-G?nter@20998 38 LOCALE="ca da de es fr id it pl pt_BR ru sv uk zh_CN"
Hans-G?nter@20998 39 for locale in $LOCALE
Hans-G?nter@20998 40 do
Hans-G?nter@20998 41 if [ -e $install/usr/share/locale/$locale/gqview.mo ]
Hans-G?nter@20998 42 then
Hans-G?nter@20998 43 mkdir -p $fs/usr/share/locale/$locale/LC_MESSAGES
Hans-G?nter@20998 44 cp -a $install/usr/share/locale/$locale/gqview.mo \
Hans-G?nter@20998 45 $fs/usr/share/locale/$locale/LC_MESSAGES
Hans-G?nter@20998 46 fi
Hans-G?nter@20998 47 done
pankso@43 48 }