wok view midori/receipt @ rev 2161
Add linux-memstick
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 07 08:43:48 2009 +0000 (2009-02-07) |
parents | 815abac9da78 |
children | faf21c50d61f |
line source
1 # SliTaz package receipt.
3 PACKAGE="midori"
4 VERSION="0.1.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Light Web Browse using GTK+/WebKit."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 DEPENDS="libsexy webkit-r icu curl openssl sqlite"
10 BUILD_DEPENDS="python libsexy-dev libsexy webkit-r-dev webkit-r icu-dev icu curl-dev sqlite-dev"
11 WEB_SITE="http://software.twotoasts.de/?page=midori"
12 WGET_URL="http://goodies.xfce.org/releases/midori/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./waf configure --prefix=/usr
19 ./waf build
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p \
26 $fs/usr/bin \
27 $fs/usr/lib/midori \
28 $fs/usr/share/pixmaps \
29 $fs/usr/share/applications \
30 $fs/usr/share/icons/hicolor/22x22/categories \
31 $fs/usr/share/icons/hicolor/22x22/status
32 cp -a $src/_build_/default/midori/midori $fs/usr/bin
33 cp -a $src/_build_/default/extensions/*.so $fs/usr/lib/midori
35 for i in de es fr
36 do
37 mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES
38 cp -a $src/_build_/default/po/$i.mo \
39 $fs/usr/share/locale/$i/LC_MESSAGES/midori.mo
40 done
41 cp $src/icons/22x22/midori.png $fs/usr/share/pixmaps
42 cp $src/icons/22x22/extension.png $fs/usr/share/icons/hicolor/22x22/categories
43 cp $src/icons/22x22/news-feed.png $fs/usr/share/icons/hicolor/22x22/status
44 }