wok-current view cbrpager/receipt @ rev 20906
perl-glib: fix wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 27 10:53:14 2019 +0100 (2019-02-27) |
parents | 2b9f96603415 |
children | 9af0e03b8ad0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cbrpager"
4 VERSION="0.9.22"
5 CATEGORY="graphics"
6 SHORT_DESC="Viewer for CBR, CBZ and CB7 (comic book archive) files"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://jcoppens.com/soft/cbrpager/index.en.php"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="libgnome-keyring libgnomeui p7zip-full rar unzip"
14 BUILD_DEPENDS="gettext libgnomeui-dev libgnome-dev libbonoboui-dev \
15 libgnomecanvas-dev libgnome-keyring-dev gtk+-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 $CONFIGURE_ARGS \
22 LDFLAGS="$(pkg-config --libs libgnomeui-2.0 gtk+-2.0)" && \
23 make && \
24 make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/* $fs
31 # add Russian translation
32 mkdir -p $fs/usr/share/locale/ru/LC_MESSAGES
33 msgfmt $stuff/ru.po -o $fs/usr/share/locale/ru/LC_MESSAGES/cbrpager.mo
34 }