wok view gqview/receipt @ rev 22926
Up jp2a (1.0.9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 26 12:40:52 2020 +0100 (2020-02-26) |
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 }