wok-current diff kazehakase/receipt @ rev 20672
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 24 14:51:04 2019 +0100 (2019-01-24) |
parents | |
children | e3f377fbc5f0 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/kazehakase/receipt Thu Jan 24 14:51:04 2019 +0100 1.3 @@ -0,0 +1,57 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="kazehakase" 1.7 +VERSION="0.5.8" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="GTK+ web browser using Webkit rendering engine" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPL2" 1.12 +WEB_SITE="http://kazehakase.sourceforge.jp/" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WGET_URL="http://iij.dl.osdn.jp/kazehakase/43802/$TARBALL" 1.15 +PATCH_URL="http://http.debian.net/debian/pool/main/k/kazehakase/kazehakase_0.5.8-4.diff.gz" 1.16 +TAGS="web-browser" 1.17 + 1.18 +DEPENDS="libwebkit" 1.19 +BUILD_DEPENDS="libtool automake autoconf \ 1.20 +gtk+-dev dbus-glib-dev libwebkit-dev gnutls-dev xorg-libSM-dev zlib-dev \ 1.21 +util-linux-uuid-dev libxslt-dev" 1.22 + 1.23 +# Rules to configure and make the package. 1.24 +compile_rules() 1.25 +{ 1.26 + PATCH_GZ="$(basename "$PATCH_URL")" 1.27 + [ -e "$SRC/$PATCH_GZ" ] || wget -O "$SRC/$PATCH_GZ" "$PATCH_URL" 1.28 + cp "$SRC/$PATCH_GZ" $src 1.29 + gzip -d $PATCH_GZ 1.30 + patch -p1 -i ${PATCH_GZ%.gz} 1.31 + for i in $(cat $src/debian/patches/00list); do 1.32 + patch -p1 -i $src/debian/patches/$i.dpatch 1.33 + done 1.34 + 1.35 + for i in $stuff/*.patch; do 1.36 + patch -p1 -i $i 1.37 + done 1.38 + 1.39 + for i in codeset gettext glibc21 iconv isc-posix lcmessage progtest; do 1.40 + [ -e "/usr/share/aclocal/$i.m4" ] && 1.41 + cp /usr/share/aclocal/$i.m4 $src/macros 1.42 + done 1.43 + 1.44 + cp -f /usr/share/automake-*/missing . 1.45 + sed -i 's|G_CONST_RETURN|const|' $src/libegg/pixbufthumbnail/egg-pixbuf-thumbnail.h 1.46 + 1.47 + ./autogen.sh 1.48 + 1.49 + ./configure \ 1.50 + --prefix=/usr \ 1.51 + --sysconfdir=/etc \ 1.52 + $CONFIGURE_ARGS && make && make install 1.53 +} 1.54 + 1.55 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.56 +genpkg_rules() 1.57 +{ 1.58 + cp -a $install/* $fs 1.59 + find $fs -name '*.la' -delete 1.60 +}