wok annotate midori/receipt @ rev 4925

rp-l2tp: set tags
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 16 10:30:02 2010 +0100 (2010-02-16)
parents 85e92e787b19
children 5b44af8c1257
rev   line source
pankso@878 1 # SliTaz package receipt.
pankso@878 2
pankso@878 3 PACKAGE="midori"
pankso@4707 4 VERSION="0.2.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"
pankso@4333 9 DEPENDS="libsexy libwebkit libsoup icu curl libssl sqlite xorg-libXdamage \
taziden@3434 10 gnutls"
pankso@4333 11 BUILD_DEPENDS="python libsexy-dev libsexy libwebkit-dev libwebkit libsoup-dev \
pankso@4333 12 icu-dev icu curl-dev sqlite-dev"
pankso@878 13 WEB_SITE="http://software.twotoasts.de/?page=midori"
mallory@4444 14 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/0.2/$TARBALL"
pankso@878 15
pankso@878 16 # Rules to configure and make the package.
pankso@878 17 compile_rules()
pankso@878 18 {
pankso@878 19 cd $src
pankso@4707 20 #patch -p 0 < ../stuff/midori-websettings.patch || exit 1
pankso@2042 21 ./waf configure --prefix=/usr
pankso@2042 22 ./waf build
pankso@878 23 }
pankso@878 24
pankso@878 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@878 26 genpkg_rules()
pankso@878 27 {
pankso@2042 28 mkdir -p \
pankso@2042 29 $fs/usr/bin \
pankso@2042 30 $fs/usr/lib/midori \
pankso@2042 31 $fs/usr/share/pixmaps \
pankso@2042 32 $fs/usr/share/applications \
pankso@2042 33 $fs/usr/share/icons/hicolor/22x22/categories \
pankso@2042 34 $fs/usr/share/icons/hicolor/22x22/status
pankso@2042 35 cp -a $src/_build_/default/midori/midori $fs/usr/bin
pankso@2042 36 cp -a $src/_build_/default/extensions/*.so $fs/usr/lib/midori
pankso@4333 37
pankso@2042 38 for i in de es fr
pankso@2042 39 do
pankso@2042 40 mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES
pankso@2042 41 cp -a $src/_build_/default/po/$i.mo \
pankso@2042 42 $fs/usr/share/locale/$i/LC_MESSAGES/midori.mo
pankso@2042 43 done
pankso@2042 44 cp $src/icons/22x22/midori.png $fs/usr/share/pixmaps
pankso@2042 45 cp $src/icons/22x22/extension.png $fs/usr/share/icons/hicolor/22x22/categories
pankso@2042 46 cp $src/icons/22x22/news-feed.png $fs/usr/share/icons/hicolor/22x22/status
pankso@878 47 }