wok view gqview/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents 17e313b5b9c1
children 932cd974e081
line source
1 # SliTaz package receipt.
3 PACKAGE="gqview"
4 VERSION="2.1.5"
5 CATEGORY="graphics"
6 SHORT_DESC="Images viewer and manager using GTK+."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://gqview.sourceforge.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="gtk+ xorg-libXdamage"
15 BUILD_DEPENDS="pkg-config gtk+ gtk+-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
22 ./configure \
23 --prefix=/usr \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make -j 1 &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/locale
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/pixmaps $fs/usr/share
37 # locales
38 LOCALE="ca da de es fr id it pl pt_BR ru sv uk zh_CN"
39 for locale in $LOCALE
40 do
41 if [ -e $install/usr/share/locale/$locale/gqview.mo ]
42 then
43 mkdir -p $fs/usr/share/locale/$locale/LC_MESSAGES
44 cp -a $install/usr/share/locale/$locale/gqview.mo \
45 $fs/usr/share/locale/$locale/LC_MESSAGES
46 fi
47 done
48 }