wok annotate kazehakase/receipt @ rev 23021
updated libdrm packages (2.4.97 -> 2.4.100)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 03 15:05:21 2020 +0100 (2020-03-03) |
parents | 5e26ab6bd360 |
children | cf080d84743a |
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 |
al@18545 | 43 |
al@18545 | 44 ./autogen.sh |
al@18545 | 45 |
al@18545 | 46 ./configure \ |
al@18545 | 47 --prefix=/usr \ |
al@18545 | 48 --sysconfdir=/etc \ |
al@18545 | 49 $CONFIGURE_ARGS && make && make install |
al@18545 | 50 } |
al@18545 | 51 |
al@18545 | 52 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18545 | 53 genpkg_rules() |
al@18545 | 54 { |
al@18545 | 55 cp -a $install/* $fs |
al@18545 | 56 find $fs -name '*.la' -delete |
al@18545 | 57 } |