wok-current annotate palemoon/receipt @ rev 24830

busybox-1.31.1: inserted CONFIG_FEATURE_SYSLOG_INFO=y in config and config-ssfs
author Hans-G?nter Theisgen
date Thu Mar 24 06:49:50 2022 +0100 (2022-03-24)
parents 5d50a02468c7
children affc6fdda56c
rev   line source
psychomaniak@19086 1 # SliTaz package receipt.
psychomaniak@19086 2
psychomaniak@19086 3 PACKAGE="palemoon"
psychomaniak@19424 4 VERSION="26.5.0"
psychomaniak@19086 5 CATEGORY="network"
psychomaniak@19086 6 LICENSE="MPL2"
psychomaniak@19086 7 SHORT_DESC="Browser based on Firefox that's optimised for performance"
psychomaniak@19086 8 WEB_SITE="http://palemoon.org"
psychomaniak@19086 9 MAINTAINER="psychomaniak@xakep.ru"
psychomaniak@19086 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
psychomaniak@19086 11 WGET_URL="https://github.com/MoonchildProductions/Pale-Moon/archive/${VERSION}_Release.tar.gz"
psychomaniak@19090 12 TAGS="browser web-browser"
pascal@19091 13 PROVIDE="browser-html5"
psychomaniak@19086 14
psychomaniak@19386 15 DEPENDS="gtk+"
psychomaniak@19086 16 BUILD_DEPENDS="autoconf213 gtk+-dev yasm zip unzip iw dbus-dev dbus-glib-dev \
psychomaniak@19086 17 iw libpng-dev gstreamer gstreamer-dev gst-plugins-base-dev gst-plugins-base \
pascal@21581 18 libvpx-dev mesa-dev python-setuptools virtualenv zlib-dev bzip2-dev python-dev \
psychomaniak@19386 19 pixman pixman-dev libffi libffi-dev" # sqlite sqlite-dev libevent libevent-dev
psychomaniak@19086 20
pascal@24326 21 # What is the latest version available today?
pascal@24326 22 current_version()
pascal@24326 23 {
pascal@24326 24 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24326 25 sed '/released/!d;s|.*oon ||;s| has.*||;q'
pascal@24326 26 }
pascal@24326 27
psychomaniak@19086 28 # Rules to configure and make the package.
psychomaniak@19086 29 compile_rules()
psychomaniak@19086 30 {
pascal@20614 31 sed -i 's|\(.\)uname -m|\1echo i686|' \
pascal@20614 32 modules/freetype2/builds/unix/config.guess \
pascal@20614 33 modules/freetype2/builds/unix/configure \
pascal@20614 34 build/unix/mozconfig.linux32 \
pascal@20614 35 build/autoconf/config.guess \
pascal@20614 36 memory/jemalloc/src/config.guess \
pascal@20614 37 memory/jemalloc/src/configure \
pascal@20614 38 configure.in \
pascal@20614 39 security/nss/coreconf/arch.mk \
pascal@20614 40 security/nss/tests/run_niscc.sh \
pascal@20614 41 nsprpub/build/autoconf/config.guess \
pascal@20614 42 nsprpub/configure.in \
pascal@20614 43 nsprpub/configure \
pascal@20614 44 media/webrtc/trunk/build/install-build-deps.sh \
pascal@20614 45 media/webrtc/trunk/build/common.gypi \
pascal@20614 46 media/webrtc/trunk/build/install-chroot.sh \
pascal@20614 47 media/webrtc/trunk/build/android/envsetup_functions.sh \
pascal@20614 48 intl/icu/source/config.guess \
pascal@20614 49 intl/icu/source/configure \
pascal@20614 50 js/src/build/autoconf/config.guess \
pascal@20614 51 js/src/ctypes/libffi/config.guess \
pascal@20614 52 js/src/ctypes/libffi/configure \
pascal@20614 53 ipc/chromium/src/third_party/libevent/config.guess \
pascal@20614 54 ipc/chromium/src/third_party/libevent/configure
pascal@19095 55 find -type f | grep duckduckgo | xargs \
pascal@19095 56 sed -i 's|name="t" value="palemoon"|name="t" value="slitaz"|'
psychomaniak@19086 57 cp $stuff/mozconfig $src
psychomaniak@19220 58 chmod -R +x build/autoconf/* python/*
psychomaniak@19086 59 find . -name '*.sh' -exec chmod +x {} \;
psychomaniak@19086 60 export MOZBUILD_STATE_PATH="$src/mozbuild"
psychomaniak@19086 61 export MOZCONFIG="$src/mozconfig"
psychomaniak@19086 62 export CPPFLAGS="$CPPFLAGS -O2"
psychomaniak@19086 63 export MAKEFLAGS="$MAKEFLAGS"
psychomaniak@19086 64 python2 mach configure
psychomaniak@19086 65 python2 mach build || echo "Next =>"
psychomaniak@19086 66 python2 mach build
psychomaniak@19086 67 cd $src/obj-i686-pc-linux-gnu
psychomaniak@19086 68 ( make package | egrep -v 'error|ERROR' ) > ./instLOG 2>&1
psychomaniak@19086 69 cd dist
psychomaniak@19086 70 for i in bin lib share/applications;
psychomaniak@19086 71 do install -d $DESTDIR/usr/$i; done
psychomaniak@19086 72 cp -a $PACKAGE $DESTDIR/usr/lib/$PACKAGE
psychomaniak@19086 73 cp -a $src/browser/branding/official/$PACKAGE.desktop \
psychomaniak@19086 74 $install/usr/share/applications
psychomaniak@19086 75 }
psychomaniak@19086 76
psychomaniak@19086 77 # Rules to gen a SliTaz package suitable for Tazpkg.
psychomaniak@19086 78 genpkg_rules()
psychomaniak@19086 79 {
psychomaniak@19086 80 cp -a $install/* $fs
psychomaniak@19090 81 mkdir -p $fs/usr/share/pixmaps
psychomaniak@19386 82 rm -f /usr/lib/$PACKAGE/$PACKAGE-bin
psychomaniak@19086 83 ln -sf /usr/lib/$PACKAGE/$PACKAGE $fs/usr/bin
psychomaniak@19086 84 ln -sf /usr/lib/$PACKAGE/browser/chrome/icons/default/default48.png \
psychomaniak@19086 85 $fs/usr/share/pixmaps/palemoon.png
pascal@19092 86 ln -s palemoon $fs/usr/bin/browser-html5
psychomaniak@19086 87 }