wok view kazehakase/receipt @ rev 20255

firefox, thunderbird: try to force i686
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 13 21:40:37 2018 +0100 (18 months ago)
parents
children e3f377fbc5f0
line source
1 # SliTaz package receipt.
3 PACKAGE="kazehakase"
4 VERSION="0.5.8"
5 CATEGORY="network"
6 SHORT_DESC="GTK+ web browser using Webkit rendering engine"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://kazehakase.sourceforge.jp/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://iij.dl.osdn.jp/kazehakase/43802/$TARBALL"
12 PATCH_URL="http://http.debian.net/debian/pool/main/k/kazehakase/kazehakase_0.5.8-4.diff.gz"
13 TAGS="web-browser"
15 DEPENDS="libwebkit"
16 BUILD_DEPENDS="libtool automake autoconf \
17 gtk+-dev dbus-glib-dev libwebkit-dev gnutls-dev xorg-libSM-dev zlib-dev \
18 util-linux-uuid-dev libxslt-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 PATCH_GZ="$(basename "$PATCH_URL")"
24 [ -e "$SRC/$PATCH_GZ" ] || wget -O "$SRC/$PATCH_GZ" "$PATCH_URL"
25 cp "$SRC/$PATCH_GZ" $src
26 gzip -d $PATCH_GZ
27 patch -p1 -i ${PATCH_GZ%.gz}
28 for i in $(cat $src/debian/patches/00list); do
29 patch -p1 -i $src/debian/patches/$i.dpatch
30 done
32 for i in $stuff/*.patch; do
33 patch -p1 -i $i
34 done
36 for i in codeset gettext glibc21 iconv isc-posix lcmessage progtest; do
37 [ -e "/usr/share/aclocal/$i.m4" ] &&
38 cp /usr/share/aclocal/$i.m4 $src/macros
39 done
41 cp -f /usr/share/automake-*/missing .
42 sed -i 's|G_CONST_RETURN|const|' $src/libegg/pixbufthumbnail/egg-pixbuf-thumbnail.h
44 ./autogen.sh
46 ./configure \
47 --prefix=/usr \
48 --sysconfdir=/etc \
49 $CONFIGURE_ARGS && make && make install
50 }
52 # Rules to gen a SliTaz package suitable for Tazpkg.
53 genpkg_rules()
54 {
55 cp -a $install/* $fs
56 find $fs -name '*.la' -delete
57 }