wok-6.x rev 5025
midori: improve receipt and deps (under 5MB!! now)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Mar 02 10:45:18 2010 +0000 (2010-03-02) |
parents | d265f77ba0e1 |
children | b68b4f934ba7 |
files | midori/receipt |
line diff
1.1 --- a/midori/receipt Tue Mar 02 10:44:06 2010 +0000 1.2 +++ b/midori/receipt Tue Mar 02 10:45:18 2010 +0000 1.3 @@ -6,10 +6,8 @@ 1.4 SHORT_DESC="Light Web Browse using GTK+/WebKit." 1.5 MAINTAINER="pankso@slitaz.org" 1.6 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.7 -DEPENDS="libsexy libwebkit libsoup icu curl libssl sqlite xorg-libXdamage \ 1.8 -gnutls libnotify gcc-lib-base" 1.9 -BUILD_DEPENDS="python libsexy-dev libsexy libwebkit-dev libwebkit libsoup-dev \ 1.10 -icu-dev icu curl-dev sqlite-dev" 1.11 +DEPENDS="libsexy libwebkit libsoup sqlite xorg-libXdamage libnotify gcc-lib-base libgnutls" 1.12 +BUILD_DEPENDS="python libsexy-dev libsexy libwebkit-dev libwebkit libsoup-dev sqlite-dev" 1.13 WEB_SITE="http://software.twotoasts.de/?page=midori" 1.14 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/0.2/$TARBALL" 1.15 1.16 @@ -18,30 +16,28 @@ 1.17 { 1.18 cd $src 1.19 #patch -p 0 < ../stuff/midori-websettings.patch || exit 1 1.20 - ./waf configure --prefix=/usr 1.21 - ./waf build 1.22 + #./waf configure --prefix=/usr 1.23 + #./waf build 1.24 + ./configure --prefix=/usr \ 1.25 + --enable-sqlite \ 1.26 + --enable-addons \ 1.27 + --enable-nls \ 1.28 + --disable-hildon && 1.29 + make && 1.30 + make DESTDIR=$PWD/_pkg install 1.31 + 1.32 } 1.33 1.34 # Rules to gen a SliTaz package suitable for Tazpkg. 1.35 genpkg_rules() 1.36 { 1.37 - mkdir -p \ 1.38 - $fs/usr/bin \ 1.39 - $fs/usr/lib/midori \ 1.40 - $fs/usr/share/pixmaps \ 1.41 - $fs/usr/share/applications \ 1.42 - $fs/usr/share/icons/hicolor/22x22/categories \ 1.43 - $fs/usr/share/icons/hicolor/22x22/status 1.44 - cp -a $src/_build_/default/midori/midori $fs/usr/bin 1.45 - cp -a $src/_build_/default/extensions/*.so $fs/usr/lib/midori 1.46 + mkdir -p $fs/usr/share/pixmaps \ 1.47 + $fs/usr/share/icons 1.48 + cp -a $_pkg/etc $fs 1.49 + cp -a $_pkg/usr/bin $fs/usr 1.50 + cp -a $_pkg/usr/lib $fs/usr 1.51 + cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share 1.52 + cp -a $_pkg/usr/share/icons/hicolor $fs/usr/share/icons 1.53 + cp $_pkg/usr/share/icons/hicolor/22x22/apps/midori.png $fs/usr/share/pixmaps 1.54 1.55 - for i in de es fr 1.56 - do 1.57 - mkdir -p $fs/usr/share/locale/$i/LC_MESSAGES 1.58 - cp -a $src/_build_/default/po/$i.mo \ 1.59 - $fs/usr/share/locale/$i/LC_MESSAGES/midori.mo 1.60 - done 1.61 - cp $src/icons/22x22/midori.png $fs/usr/share/pixmaps 1.62 - cp $src/icons/22x22/extension.png $fs/usr/share/icons/hicolor/22x22/categories 1.63 - cp $src/icons/22x22/news-feed.png $fs/usr/share/icons/hicolor/22x22/status 1.64 }