wok diff cbrpager/receipt @ rev 14417

new: python-edje-dev
author Dominique Corbex <domcox@slitaz.org>
date Tue Apr 23 19:18:45 2013 +0200 (2013-04-23)
parents
children 01010da01a4a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cbrpager/receipt	Tue Apr 23 19:18:45 2013 +0200
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="cbrpager"
     1.7 +VERSION="0.9.22"
     1.8 +CATEGORY="graphics"
     1.9 +SHORT_DESC="Viewer for CBR, CBZ and CB7 (comic book archive) files"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPLv2"
    1.12 +WEB_SITE="http://jcoppens.com/soft/cbrpager/index.en.php"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.15 +
    1.16 +DEPENDS="libgnome-keyring libgnomeui p7zip-full rar unzip"
    1.17 +BUILD_DEPENDS="gettext libgnomeui-dev libgnome-dev libbonoboui-dev \
    1.18 +libgnomecanvas-dev libgnome-keyring-dev gtk+-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	./configure \
    1.24 +		$CONFIGURE_ARGS \
    1.25 +		LDFLAGS="$(pkg-config --libs libgnomeui-2.0 gtk+-2.0)" && \
    1.26 +	make && \
    1.27 +	make install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	cp -a $install/* $fs
    1.34 +	# add Russian translation
    1.35 +	mkdir -p $fs/usr/share/locale/ru/LC_MESSAGES
    1.36 +	msgfmt $stuff/ru.po -o $fs/usr/share/locale/ru/LC_MESSAGES/cbrpager.mo
    1.37 +}