wok view cbrpager/receipt @ rev 25760

created recipes for thunar-archive-plugin-lang and thunar-volman-lang
author Hans-G?nter Theisgen
date Sun Sep 01 15:08:01 2024 +0100 (2 months ago)
parents 9af0e03b8ad0
children
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/cbrpager/files/cbrpager/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/cbrpager/cbrpager-||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 $CONFIGURE_ARGS \
30 LDFLAGS="$(pkg-config --libs libgnomeui-2.0 gtk+-2.0)" && \
31 make && \
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
39 # add Russian translation
40 mkdir -p $fs/usr/share/locale/ru/LC_MESSAGES
41 msgfmt $stuff/ru.po -o $fs/usr/share/locale/ru/LC_MESSAGES/cbrpager.mo
42 }