wok annotate cbrpager/receipt @ rev 15855
New kernel config and huge receipt clean up
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jan 29 09:56:07 2014 +0100 (2014-01-29) |
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 } |