wok-next annotate cbrpager/receipt @ rev 14928

Up: eina (1.7.8)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 19:15:32 2013 +0200 (2013-08-08)
parents 20741584a6f4
children 2b9f96603415
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@14653 8 LICENSE="GPL2"
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 }