wok annotate cbrpager/receipt @ rev 24016

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