wok-current annotate midori/receipt @ rev 4021
PolicyKit: fix FSH
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 04 10:25:14 2009 +0200 (2009-09-04) |
parents | fcee7f1f26cf |
children | 883faa0c43cc |
rev | line source |
---|---|
pankso@878 | 1 # SliTaz package receipt. |
pankso@878 | 2 |
pankso@878 | 3 PACKAGE="midori" |
mallory@4007 | 4 VERSION="0.1.9" |
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 |
pankso@2042 | 19 ./waf configure --prefix=/usr |
pankso@2042 | 20 ./waf build |
pankso@878 | 21 } |
pankso@878 | 22 |
pankso@878 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@878 | 24 genpkg_rules() |
pankso@878 | 25 { |
pankso@2042 | 26 mkdir -p \ |
pankso@2042 | 27 $fs/usr/bin \ |
pankso@2042 | 28 $fs/usr/lib/midori \ |
pankso@2042 | 29 $fs/usr/share/pixmaps \ |
pankso@2042 | 30 $fs/usr/share/applications \ |
pankso@2042 | 31 $fs/usr/share/icons/hicolor/22x22/categories \ |
pankso@2042 | 32 $fs/usr/share/icons/hicolor/22x22/status |
pankso@2042 | 33 cp -a $src/_build_/default/midori/midori $fs/usr/bin |
pankso@2042 | 34 cp -a $src/_build_/default/extensions/*.so $fs/usr/lib/midori |
pankso@2042 | 35 |
pankso@2042 | 36 for i in de es fr |
pankso@2042 | 37 do |
pankso@2042 | 38 mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES |
pankso@2042 | 39 cp -a $src/_build_/default/po/$i.mo \ |
pankso@2042 | 40 $fs/usr/share/locale/$i/LC_MESSAGES/midori.mo |
pankso@2042 | 41 done |
pankso@2042 | 42 cp $src/icons/22x22/midori.png $fs/usr/share/pixmaps |
pankso@2042 | 43 cp $src/icons/22x22/extension.png $fs/usr/share/icons/hicolor/22x22/categories |
pankso@2042 | 44 cp $src/icons/22x22/news-feed.png $fs/usr/share/icons/hicolor/22x22/status |
pankso@878 | 45 } |