wok-4.x annotate midori/receipt @ rev 12353

jabberd2: build storage_sqlite.so
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 04 22:03:14 2012 +0100 (2012-11-04)
parents 0a352dc005b7
children
rev   line source
pankso@878 1 # SliTaz package receipt.
pankso@878 2
pankso@878 3 PACKAGE="midori"
pankso@12321 4 VERSION="0.4.6"
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@8295 10 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$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 &&
pankso@12321 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
pankso@5028 51 ln -s ../icons/hicolor/22x22/apps/midori.png .
pankso@878 52 }