wok-next annotate midori/receipt @ rev 8582

imported patch get/v4l-dvb
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 13 22:57:57 2011 +0100 (2011-02-13)
parents 04d3480a5183
children e53b0b4eb862
rev   line source
pankso@878 1 # SliTaz package receipt.
pankso@878 2
pankso@878 3 PACKAGE="midori"
slaxemulator@8295 4 VERSION="0.3.0"
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"
gokhlayeh@5740 9 DEPENDS="libsexy libwebkit libsoup sqlite xorg-libXdamage xorg-libXss libnotify gcc-lib-base libgnutls"
slaxemulator@6706 10 BUILD_DEPENDS="python libsexy-dev libsexy libwebkit-dev libsoup-dev sqlite-dev intltool libgio-dev dbus-dev dbus-glib-dev libnotify-dev pkg-config xorg-libXss xorg-libXss-dev xorg-libXdamage-dev xorg-libX11-dev gtk+-dev"
pankso@878 11 WEB_SITE="http://software.twotoasts.de/?page=midori"
slaxemulator@8295 12 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@878 13
pankso@878 14 # Rules to configure and make the package.
pankso@878 15 compile_rules()
pankso@878 16 {
pankso@878 17 cd $src
pankso@5028 18 ./configure \
pankso@5028 19 --prefix=/usr \
slaxemulator@6180 20 --jobs=4 \
pankso@5028 21 --enable-addons \
slaxemulator@6180 22 --disable-vala \
jozee@5106 23 --disable-unique \
pankso@5028 24 --disable-hildon &&
jozee@5025 25 make &&
pankso@5028 26 make DESTDIR=$PWD/_pkg install
pankso@878 27 }
pankso@878 28
pankso@878 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@878 30 genpkg_rules()
pankso@878 31 {
pankso@5028 32 mkdir -p \
pankso@5028 33 $fs/usr/share/pixmaps \
pankso@5028 34 $fs/usr/share/icons
jozee@5025 35 cp -a $_pkg/etc $fs
pankso@5028 36 cp stuff/config $fs/etc/xdg/midori
pankso@5028 37 cp stuff/bookmarks.xbel $fs/etc/xdg/midori
jozee@5025 38 cp -a $_pkg/usr/bin $fs/usr
jozee@5025 39 cp -a $_pkg/usr/lib $fs/usr
jozee@5025 40 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
jozee@5025 41 cp -a $_pkg/usr/share/icons/hicolor $fs/usr/share/icons
pankso@5028 42 cd $fs/usr/share/pixmaps
pankso@5028 43 ln -s ../icons/hicolor/22x22/apps/midori.png .
pankso@878 44 }