wok-current annotate midori/receipt @ rev 4444
Up: midori (0.2)
author | Mallory Mollo <mallory@sweetpeople.org> |
---|---|
date | Tue Nov 03 23:27:34 2009 +0100 (2009-11-03) |
parents | 92c33162b915 |
children | f3683ba6d84d |
rev | line source |
---|---|
pankso@878 | 1 # SliTaz package receipt. |
pankso@878 | 2 |
pankso@878 | 3 PACKAGE="midori" |
mallory@4444 | 4 VERSION="0.2.0" |
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 |
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 } |