wok view kazehakase/receipt @ rev 24032

modified get-teamviewer to be able to fetch versions < 13
author Hans-G?nter Theisgen
date Tue Apr 06 14:38:05 2021 +0100 (2021-04-06)
parents e3f377fbc5f0
children b78e79c31b1f
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="https://osdn.net/projects/kazehakase/"
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 # gnutls_certificate_type_set_priority is depredicated
45 sed -i '/gnutls_certificate_type_set_priority/d' $src/src/net/kz-http.c
47 ./autogen.sh
49 ./configure \
50 --prefix=/usr \
51 --sysconfdir=/etc \
52 $CONFIGURE_ARGS && make && make install
53 }
55 # Rules to gen a SliTaz package suitable for Tazpkg.
56 genpkg_rules()
57 {
58 cp -a $install/* $fs
59 find $fs -name '*.la' -delete
60 }