wok-next annotate midori/receipt @ rev 4347
Fix: kino build --with-libdv-only
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Oct 02 12:48:07 2009 +0200 (2009-10-02) |
parents | 6baa574f27fa |
children | 85e92e787b19 |
rev | line source |
---|---|
pankso@878 | 1 # SliTaz package receipt. |
pankso@878 | 2 |
pankso@878 | 3 PACKAGE="midori" |
mallory@4100 | 4 VERSION="0.1.10" |
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@4007 | 14 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/0.1/$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 |
erjo@4150 | 20 test -f done.midori-websettings.c.u || \ |
erjo@4150 | 21 ( patch -p1 -i ../stuff/midori-websettings.c.u && touch done.midori-websettings.c.u ) |
pankso@4333 | 22 |
pankso@2042 | 23 ./waf configure --prefix=/usr |
pankso@2042 | 24 ./waf build |
pankso@878 | 25 } |
pankso@878 | 26 |
pankso@878 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@878 | 28 genpkg_rules() |
pankso@878 | 29 { |
pankso@2042 | 30 mkdir -p \ |
pankso@2042 | 31 $fs/usr/bin \ |
pankso@2042 | 32 $fs/usr/lib/midori \ |
pankso@2042 | 33 $fs/usr/share/pixmaps \ |
pankso@2042 | 34 $fs/usr/share/applications \ |
pankso@2042 | 35 $fs/usr/share/icons/hicolor/22x22/categories \ |
pankso@2042 | 36 $fs/usr/share/icons/hicolor/22x22/status |
pankso@2042 | 37 cp -a $src/_build_/default/midori/midori $fs/usr/bin |
pankso@2042 | 38 cp -a $src/_build_/default/extensions/*.so $fs/usr/lib/midori |
pankso@4333 | 39 |
pankso@2042 | 40 for i in de es fr |
pankso@2042 | 41 do |
pankso@2042 | 42 mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES |
pankso@2042 | 43 cp -a $src/_build_/default/po/$i.mo \ |
pankso@2042 | 44 $fs/usr/share/locale/$i/LC_MESSAGES/midori.mo |
pankso@2042 | 45 done |
pankso@2042 | 46 cp $src/icons/22x22/midori.png $fs/usr/share/pixmaps |
pankso@2042 | 47 cp $src/icons/22x22/extension.png $fs/usr/share/icons/hicolor/22x22/categories |
pankso@2042 | 48 cp $src/icons/22x22/news-feed.png $fs/usr/share/icons/hicolor/22x22/status |
pankso@878 | 49 } |