wok-next view cbrpager/receipt @ rev 19542

Build *.pc files for ncurses(w)-dev; rebuild sc-im with ncursesw.pc
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 05 15:16:10 2016 +0200 (2016-12-05)
parents 2b9f96603415
children f48456621a9d
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 }