wok-current view midori/receipt @ rev 4546
Add: ncmpcpp
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Thu Dec 03 19:54:50 2009 +0000 (2009-12-03) |
parents | 92c33162b915 |
children | f3683ba6d84d |
line source
1 # SliTaz package receipt.
3 PACKAGE="midori"
4 VERSION="0.2.0"
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 libwebkit libsoup icu curl libssl sqlite xorg-libXdamage \
10 gnutls"
11 BUILD_DEPENDS="python libsexy-dev libsexy libwebkit-dev libwebkit libsoup-dev \
12 icu-dev icu curl-dev sqlite-dev"
13 WEB_SITE="http://software.twotoasts.de/?page=midori"
14 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/0.2/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 test -f done.midori-websettings.c.u || \
21 ( patch -p1 -i ../stuff/midori-websettings.c.u && touch done.midori-websettings.c.u )
23 ./waf configure --prefix=/usr
24 ./waf build
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p \
31 $fs/usr/bin \
32 $fs/usr/lib/midori \
33 $fs/usr/share/pixmaps \
34 $fs/usr/share/applications \
35 $fs/usr/share/icons/hicolor/22x22/categories \
36 $fs/usr/share/icons/hicolor/22x22/status
37 cp -a $src/_build_/default/midori/midori $fs/usr/bin
38 cp -a $src/_build_/default/extensions/*.so $fs/usr/lib/midori
40 for i in de es fr
41 do
42 mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES
43 cp -a $src/_build_/default/po/$i.mo \
44 $fs/usr/share/locale/$i/LC_MESSAGES/midori.mo
45 done
46 cp $src/icons/22x22/midori.png $fs/usr/share/pixmaps
47 cp $src/icons/22x22/extension.png $fs/usr/share/icons/hicolor/22x22/categories
48 cp $src/icons/22x22/news-feed.png $fs/usr/share/icons/hicolor/22x22/status
49 }