wok annotate midori/receipt @ rev 2608

Update depends: cairomm clamav enlightenment-pam gamin gtk+ libglu-mesa magnifier pangomm ploticus sudoku-savant
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 11 09:57:12 2009 +0000 (2009-04-11)
parents 47eb07780faf
children 296b0ab62537
rev   line source
pankso@878 1 # SliTaz package receipt.
pankso@878 2
pankso@878 3 PACKAGE="midori"
pankso@2042 4 VERSION="0.1.2"
pankso@878 5 CATEGORY="x-window"
pankso@878 6 SHORT_DESC="Light Web Browse using GTK+/WebKit."
pankso@878 7 MAINTAINER="pankso@slitaz.org"
pankso@2042 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@2519 9 DEPENDS="libsexy webkit-r icu curl openssl sqlite xorg-libXdamage"
pankso@2042 10 BUILD_DEPENDS="python libsexy-dev libsexy webkit-r-dev webkit-r icu-dev icu curl-dev sqlite-dev"
pankso@878 11 WEB_SITE="http://software.twotoasts.de/?page=midori"
pankso@2042 12 WGET_URL="http://goodies.xfce.org/releases/midori/$TARBALL"
pankso@878 13
pankso@878 14 # Rules to configure and make the package.
pankso@878 15 compile_rules()
pankso@878 16 {
pankso@878 17 cd $src
pankso@2042 18 ./waf configure --prefix=/usr
pankso@2042 19 ./waf build
pankso@878 20 }
pankso@878 21
pankso@878 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@878 23 genpkg_rules()
pankso@878 24 {
pankso@2042 25 mkdir -p \
pankso@2042 26 $fs/usr/bin \
pankso@2042 27 $fs/usr/lib/midori \
pankso@2042 28 $fs/usr/share/pixmaps \
pankso@2042 29 $fs/usr/share/applications \
pankso@2042 30 $fs/usr/share/icons/hicolor/22x22/categories \
pankso@2042 31 $fs/usr/share/icons/hicolor/22x22/status
pankso@2042 32 cp -a $src/_build_/default/midori/midori $fs/usr/bin
pankso@2042 33 cp -a $src/_build_/default/extensions/*.so $fs/usr/lib/midori
pankso@2042 34
pankso@2042 35 for i in de es fr
pankso@2042 36 do
pankso@2042 37 mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES
pankso@2042 38 cp -a $src/_build_/default/po/$i.mo \
pankso@2042 39 $fs/usr/share/locale/$i/LC_MESSAGES/midori.mo
pankso@2042 40 done
pankso@2042 41 cp $src/icons/22x22/midori.png $fs/usr/share/pixmaps
pankso@2042 42 cp $src/icons/22x22/extension.png $fs/usr/share/icons/hicolor/22x22/categories
pankso@2042 43 cp $src/icons/22x22/news-feed.png $fs/usr/share/icons/hicolor/22x22/status
pankso@878 44 }