wok annotate midori/receipt @ rev 12661

merge
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 01 10:13:22 2012 +0200 (2012-05-01)
parents 0a352dc005b7
children be4730f4e0c6
rev   line source
pankso@878 1 # SliTaz package receipt.
pankso@878 2
pankso@878 3 PACKAGE="midori"
slaxemulator@12359 4 VERSION="0.4.5"
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@878 9 WEB_SITE="http://software.twotoasts.de/?page=midori"
slaxemulator@12359 10 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION:0:3}/$TARBALL"
pankso@878 11
pankso@12082 12 DEPENDS="libsexy libwebkit libsoup sqlite xorg-libXdamage xorg-libXss \
pankso@12082 13 gcc-lib-base libgnutls"
pankso@12082 14 BUILD_DEPENDS="python libsexy-dev libwebkit-dev libsoup-dev sqlite-dev \
pankso@12082 15 intltool libgio-dev dbus-dev dbus-glib-dev pkg-config xorg-libXss-dev \
pankso@12082 16 xorg-libXdamage-dev xorg-libX11-dev gtk+-dev vala"
pankso@12082 17
pankso@878 18 # Rules to configure and make the package.
pankso@878 19 compile_rules()
pankso@878 20 {
pankso@878 21 cd $src
pankso@5028 22 ./configure \
pankso@5028 23 --prefix=/usr \
slaxemulator@6180 24 --jobs=4 \
pankso@5028 25 --enable-addons \
devl547@11248 26 --disable-libnotify \
jozee@5106 27 --disable-unique \
pankso@5028 28 --disable-hildon &&
jozee@5025 29 make &&
slaxemulator@12359 30 make install
pankso@878 31 }
pankso@878 32
pankso@878 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@878 34 genpkg_rules()
pankso@878 35 {
pankso@5028 36 mkdir -p \
pankso@5028 37 $fs/usr/share/pixmaps \
pankso@5028 38 $fs/usr/share/icons
pankso@12082 39 cp -a $install/etc $fs
slaxemulator@10110 40 cp $stuff/config $fs/etc/xdg/midori
pankso@12082 41 cp $stuff/search $fs/etc/xdg/midori
pankso@12082 42 # Midori use sqlite to store bookmarks
pankso@12082 43 #cp $stuff/bookmarks.xbel $fs/etc/xdg/midori
pankso@12082 44 cp -a $install/usr/bin $fs/usr
pankso@12082 45 cp -a $install/usr/lib $fs/usr
pankso@12082 46 cp -a $install/usr/share/$PACKAGE $fs/usr/share
pankso@12082 47 # Icons
pankso@12082 48 cp -a $install/usr/share/icons/hicolor $fs/usr/share/icons
pankso@12082 49 rm -rf $fs/usr/share/icons/hicolor/scalable
pankso@5028 50 cd $fs/usr/share/pixmaps
slaxemulator@12359 51 ln -sf ../icons/hicolor/22x22/apps/midori.png .
pankso@878 52 }