wok-current annotate midori/receipt @ rev 4219
xfce4-mixer: fix FSH
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 24 12:55:55 2009 +0200 (2009-09-24) |
parents | 883faa0c43cc |
children | 92c33162b915 |
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" |
taziden@3434 | 9 DEPENDS="libsexy libwebkit libsoup icu curl openssl sqlite xorg-libXdamage |
taziden@3434 | 10 gnutls" |
mallory@3145 | 11 BUILD_DEPENDS="python libsexy-dev libsexy libwebkit-dev libwebkit libsoup-dev icu-dev icu curl-dev sqlite-dev" |
pankso@878 | 12 WEB_SITE="http://software.twotoasts.de/?page=midori" |
mallory@4007 | 13 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/0.1/$TARBALL" |
pankso@878 | 14 |
pankso@878 | 15 # Rules to configure and make the package. |
pankso@878 | 16 compile_rules() |
pankso@878 | 17 { |
pankso@878 | 18 cd $src |
erjo@4150 | 19 test -f done.midori-websettings.c.u || \ |
erjo@4150 | 20 ( patch -p1 -i ../stuff/midori-websettings.c.u && touch done.midori-websettings.c.u ) |
erjo@4150 | 21 |
pankso@2042 | 22 ./waf configure --prefix=/usr |
pankso@2042 | 23 ./waf build |
pankso@878 | 24 } |
pankso@878 | 25 |
pankso@878 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@878 | 27 genpkg_rules() |
pankso@878 | 28 { |
pankso@2042 | 29 mkdir -p \ |
pankso@2042 | 30 $fs/usr/bin \ |
pankso@2042 | 31 $fs/usr/lib/midori \ |
pankso@2042 | 32 $fs/usr/share/pixmaps \ |
pankso@2042 | 33 $fs/usr/share/applications \ |
pankso@2042 | 34 $fs/usr/share/icons/hicolor/22x22/categories \ |
pankso@2042 | 35 $fs/usr/share/icons/hicolor/22x22/status |
pankso@2042 | 36 cp -a $src/_build_/default/midori/midori $fs/usr/bin |
pankso@2042 | 37 cp -a $src/_build_/default/extensions/*.so $fs/usr/lib/midori |
pankso@2042 | 38 |
pankso@2042 | 39 for i in de es fr |
pankso@2042 | 40 do |
pankso@2042 | 41 mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES |
pankso@2042 | 42 cp -a $src/_build_/default/po/$i.mo \ |
pankso@2042 | 43 $fs/usr/share/locale/$i/LC_MESSAGES/midori.mo |
pankso@2042 | 44 done |
pankso@2042 | 45 cp $src/icons/22x22/midori.png $fs/usr/share/pixmaps |
pankso@2042 | 46 cp $src/icons/22x22/extension.png $fs/usr/share/icons/hicolor/22x22/categories |
pankso@2042 | 47 cp $src/icons/22x22/news-feed.png $fs/usr/share/icons/hicolor/22x22/status |
pankso@878 | 48 } |