wok-current annotate kazehakase/receipt @ rev 23529

updated python-pip (19.0.3 -> 20.0.2)
author Hans-G?nter Theisgen
date Mon Apr 06 14:44:29 2020 +0100 (2020-04-06)
parents e3f377fbc5f0
children b78e79c31b1f
rev   line source
al@18545 1 # SliTaz package receipt.
al@18545 2
al@18545 3 PACKAGE="kazehakase"
al@18545 4 VERSION="0.5.8"
al@18545 5 CATEGORY="network"
al@18545 6 SHORT_DESC="GTK+ web browser using Webkit rendering engine"
al@18545 7 MAINTAINER="al.bobylev@gmail.com"
al@18545 8 LICENSE="GPL2"
pascal@20673 9 WEB_SITE="https://osdn.net/projects/kazehakase/"
al@18545 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@18545 11 WGET_URL="http://iij.dl.osdn.jp/kazehakase/43802/$TARBALL"
al@18545 12 PATCH_URL="http://http.debian.net/debian/pool/main/k/kazehakase/kazehakase_0.5.8-4.diff.gz"
al@18545 13 TAGS="web-browser"
al@18545 14
al@18545 15 DEPENDS="libwebkit"
al@18545 16 BUILD_DEPENDS="libtool automake autoconf \
al@18545 17 gtk+-dev dbus-glib-dev libwebkit-dev gnutls-dev xorg-libSM-dev zlib-dev \
al@18545 18 util-linux-uuid-dev libxslt-dev"
al@18545 19
al@18545 20 # Rules to configure and make the package.
al@18545 21 compile_rules()
al@18545 22 {
al@18545 23 PATCH_GZ="$(basename "$PATCH_URL")"
al@18545 24 [ -e "$SRC/$PATCH_GZ" ] || wget -O "$SRC/$PATCH_GZ" "$PATCH_URL"
al@18545 25 cp "$SRC/$PATCH_GZ" $src
al@18545 26 gzip -d $PATCH_GZ
al@18545 27 patch -p1 -i ${PATCH_GZ%.gz}
al@18545 28 for i in $(cat $src/debian/patches/00list); do
al@18545 29 patch -p1 -i $src/debian/patches/$i.dpatch
al@18545 30 done
al@18545 31
al@18545 32 for i in $stuff/*.patch; do
al@18545 33 patch -p1 -i $i
al@18545 34 done
al@18545 35
al@18545 36 for i in codeset gettext glibc21 iconv isc-posix lcmessage progtest; do
al@18545 37 [ -e "/usr/share/aclocal/$i.m4" ] &&
al@18545 38 cp /usr/share/aclocal/$i.m4 $src/macros
al@18545 39 done
al@18545 40
al@18545 41 cp -f /usr/share/automake-*/missing .
al@18545 42 sed -i 's|G_CONST_RETURN|const|' $src/libegg/pixbufthumbnail/egg-pixbuf-thumbnail.h
pascal@23060 43
pascal@23060 44 # gnutls_certificate_type_set_priority is depredicated
pascal@23060 45 sed -i '/gnutls_certificate_type_set_priority/d' $src/src/net/kz-http.c
al@18545 46
al@18545 47 ./autogen.sh
al@18545 48
al@18545 49 ./configure \
al@18545 50 --prefix=/usr \
al@18545 51 --sysconfdir=/etc \
al@18545 52 $CONFIGURE_ARGS && make && make install
al@18545 53 }
al@18545 54
al@18545 55 # Rules to gen a SliTaz package suitable for Tazpkg.
al@18545 56 genpkg_rules()
al@18545 57 {
al@18545 58 cp -a $install/* $fs
al@18545 59 find $fs -name '*.la' -delete
al@18545 60 }