wok-next view kazehakase/receipt @ rev 21084
Add librefox
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Dec 25 14:44:32 2018 +0200 (2018-12-25) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://iij.dl.osdn.jp/kazehakase/43802/$TARBALL"
13 PATCH_URL="http://http.debian.net/debian/pool/main/k/kazehakase/kazehakase_0.5.8-4.diff.gz"
15 BUILD_DEPENDS="libtool automake autoconf intltool \
16 gtk2-dev dbus-glib-dev webkitgtk-dev gnutls-dev libsm-dev zlib-dev \
17 util-linux-uuid-dev libxslt-dev"
19 compile_rules() {
20 PATCH_GZ="$(basename "$PATCH_URL")"
21 [ -e "$SRC/$PATCH_GZ" ] || wget -O "$SRC/$PATCH_GZ" "$PATCH_URL"
22 cp "$SRC/$PATCH_GZ" $src
23 gzip -d $PATCH_GZ
24 patch -p1 -i ${PATCH_GZ%.gz}
25 for i in $(cat $src/debian/patches/00list); do
26 patch -p1 -i $src/debian/patches/$i.dpatch
27 done
29 # remove gnutls_certificate_type_set_priority depredicated call
30 sed -i '/cert_type_priority/{Nd}' src/net/kz-http.c
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 $CONFIGURE_ARGS &&
47 fix libtool &&
48 make &&
49 make install
50 }
52 genpkg_rules() {
53 copy @std
54 DEPENDS="webkitgtk"
55 TAGS="web-browser"
56 }