wok view midori/receipt @ rev 20247

Up alsa (1.1.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 12 12:25:00 2018 +0100 (2018-03-12)
parents ebb57f2c0d8a
children 70e1dc58412b
line source
1 # SliTaz package receipt.
3 PACKAGE="midori"
4 VERSION="0.5.2"
5 CATEGORY="network"
6 SHORT_DESC="Lightweight web browser based on GTK+/WebKit"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 #TARBALL="${PACKAGE}_${VERSION}_all_.tar.bz2"
11 WEB_SITE="http://twotoasts.de/index.php/midori/"
12 #WGET_URL="http://midori-browser.org/downloads/$TARBALL"
13 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION:0:3}/$TARBALL"
14 TAGS="web-browser"
15 #HOST_ARCH="i486 arm"
17 GENERIC_MENUS="no"
18 DEPENDS="libnotify libunique libsoup libwebkit xorg-libXss libxslt"
19 BUILD_DEPENDS="glib-dev libnotify-dev gtk+-dev xorg-libXss-dev \
20 libwebkit-dev libunique-dev libsoup-dev libxslt-dev"
22 # Handle cross compilation
23 case "$ARCH" in
24 i?86)
25 BUILD_DEPENDS="$BUILD_DEPENDS cmake desktop-file-utils-extra
26 librsvg-apps python vala"
27 esac
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 #mkdir -p build && cd build
33 #cmake \
34 #-DCMAKE_INSTALL_PREFIX=/usr \
35 #-DCMAKE_INSTALL_LIBDIR=lib \
36 #-DUSE_ZEITGEIST=0 .. &&
37 ./configure \
38 --jobs=4 \
39 --prefix=/usr \
40 --disable-zeitgeist &&
41 make &&
42 make install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p \
49 $fs/usr/share/doc/midori \
50 $fs/usr/share/pixmaps
52 cp -a $install/etc $fs
53 cp $stuff/config $fs/etc/xdg/midori
54 # add SliTaz token to DDG, add Twitter search
55 cd $fs; patch -p1 < $stuff/search.patch; status
57 # Midori use sqlite to store bookmarks
58 #cp $stuff/bookmarks.xbel $fs/etc/xdg/midori
60 cp -a $install/usr/bin $fs/usr
61 cp -a $install/usr/lib $fs/usr
63 # desktop files
64 cp -a $install/usr/share/applications $fs/usr/share
66 cp -a $install/usr/share/doc/midori/faq* $fs/usr/share/doc/midori
67 cp -a $install/usr/share/midori $fs/usr/share
69 # Icons
70 cp -a $install/usr/share/icons $fs/usr/share
71 rm -rf $fs/usr/share/icons/hicolor/scalable
72 }