wok-6.x view kazehakase/receipt @ rev 25208
updated python-numpy (1.16.4 -> 1.16.6)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 14:56:01 2022 +0100 (2022-07-13) |
parents | cf080d84743a |
children |
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 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
24 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 PATCH_GZ="$(basename "$PATCH_URL")"
31 [ -e "$SRC/$PATCH_GZ" ] || wget -O "$SRC/$PATCH_GZ" "$PATCH_URL"
32 cp "$SRC/$PATCH_GZ" $src
33 gzip -d $PATCH_GZ
34 patch -p1 -i ${PATCH_GZ%.gz}
35 for i in $(cat $src/debian/patches/00list); do
36 patch -p1 -i $src/debian/patches/$i.dpatch
37 done
39 for i in $stuff/*.patch; do
40 patch -p1 -i $i
41 done
43 for i in codeset gettext glibc21 iconv isc-posix lcmessage progtest; do
44 [ -e "/usr/share/aclocal/$i.m4" ] &&
45 cp /usr/share/aclocal/$i.m4 $src/macros
46 done
48 cp -f /usr/share/automake-*/missing .
49 sed -i 's|G_CONST_RETURN|const|' $src/libegg/pixbufthumbnail/egg-pixbuf-thumbnail.h
51 # gnutls_certificate_type_set_priority is depredicated
52 sed -i '/gnutls_certificate_type_set_priority/d' $src/src/net/kz-http.c
54 ./autogen.sh
56 ./configure \
57 --prefix=/usr \
58 --sysconfdir=/etc \
59 $CONFIGURE_ARGS && make && make install
60 }
62 # Rules to gen a SliTaz package suitable for Tazpkg.
63 genpkg_rules()
64 {
65 cp -a $install/* $fs
66 find $fs -name '*.la' -delete
67 }