wok-6.x annotate midori/receipt @ rev 11806

sdcc: fix cp -u
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 25 16:25:09 2012 +0100 (2012-02-25)
parents c05293a5f7df
children 0a352dc005b7
rev   line source
pankso@878 1 # SliTaz package receipt.
pankso@878 2
pankso@878 3 PACKAGE="midori"
samuel_trassare@11769 4 VERSION="0.4.3"
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"
devl547@11248 9 DEPENDS="libsexy libwebkit libsoup sqlite xorg-libXdamage xorg-libXss gcc-lib-base libgnutls"
devl547@11248 10 BUILD_DEPENDS="python libsexy-dev libsexy libwebkit-dev libsoup-dev sqlite-dev intltool libgio-dev dbus-dev dbus-glib-dev pkg-config xorg-libXss xorg-libXss-dev xorg-libXdamage-dev xorg-libX11-dev gtk+-dev vala"
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 \
devl547@11248 22 --disable-libnotify \
jozee@5106 23 --disable-unique \
pankso@5028 24 --disable-hildon &&
jozee@5025 25 make &&
slaxemulator@10110 26 make 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
slaxemulator@10110 36 cp $stuff/config $fs/etc/xdg/midori
slaxemulator@10110 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 }