wok-undigest annotate palemoon/receipt @ rev 1233

try audacity again
author Hans-G?nter Theisgen
date Sat Aug 06 17:09:06 2022 +0100 (2022-08-06)
parents 424143623a62
children
rev   line source
psychomaniak@1187 1 # SliTaz package receipt.
psychomaniak@1187 2
psychomaniak@1187 3 PACKAGE="palemoon"
psychomaniak@1205 4 VERSION="27.0.0"
psychomaniak@1187 5 CATEGORY="network"
psychomaniak@1187 6 LICENSE="MPL2"
psychomaniak@1187 7 SHORT_DESC="Browser based on Firefox that's optimised for performance"
psychomaniak@1187 8 WEB_SITE="http://palemoon.org"
psychomaniak@1187 9 MAINTAINER="psychomaniak@xakep.ru"
psychomaniak@1187 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
psychomaniak@1187 11 WGET_URL="https://github.com/MoonchildProductions/Pale-Moon/archive/${VERSION}_Release.tar.gz"
psychomaniak@1198 12 TAGS="browser web-browser"
psychomaniak@1198 13 PROVIDE="browser-html5"
psychomaniak@1187 14
psychomaniak@1198 15 DEPENDS="gtk+ bzip2 libevent libffi sqlite"
psychomaniak@1187 16 BUILD_DEPENDS="autoconf213 gtk+-dev yasm zip unzip iw dbus-dev dbus-glib-dev \
psychomaniak@1187 17 iw libpng-dev gstreamer gstreamer-dev gst-plugins-base-dev gst-plugins-base \
psychomaniak@1206 18 libvpx-dev mesa-dev setuptools virtualenv zlib-dev bzip2-dev python-dev wget cacerts openssl"
psychomaniak@1200 19 #pixman pixman-dev sqlite sqlite-dev libffi libffi-dev libevent libevent-dev"
psychomaniak@1187 20
psychomaniak@1187 21 # Rules to configure and make the package.
psychomaniak@1187 22 compile_rules()
psychomaniak@1187 23 {
psychomaniak@1200 24 #sed 's|3.13.0|3.8.11.1|' -i $src/configure.in
psychomaniak@1195 25 find -type f | grep duckduckgo | xargs \
psychomaniak@1195 26 sed -i 's|name="t" value="palemoon"|name="t" value="slitaz"|'
psychomaniak@1198 27 cp $stuff/mozconfig $src
psychomaniak@1198 28 chmod -R +x build/autoconf/* python/*
psychomaniak@1192 29 find . -name '*.sh' -exec chmod +x {} \;
psychomaniak@1187 30 export MOZBUILD_STATE_PATH="$src/mozbuild"
psychomaniak@1187 31 export MOZCONFIG="$src/mozconfig"
psychomaniak@1198 32 export CPPFLAGS="$CPPFLAGS -O2"
psychomaniak@1198 33 export MAKEFLAGS="$MAKEFLAGS"
psychomaniak@1191 34 python2 mach configure
psychomaniak@1187 35 python2 mach build || echo "Next =>"
psychomaniak@1187 36 python2 mach build
psychomaniak@1187 37 cd $src/obj-i686-pc-linux-gnu
psychomaniak@1198 38 echo ================================================================================
psychomaniak@1198 39 echo 'make package'
psychomaniak@1198 40 echo ================================================================================
psychomaniak@1199 41 make package
psychomaniak@1198 42 echo ================================================================================
psychomaniak@1198 43 # | egrep -v 'error|ERROR' ) > ./instLOG 2>&1
psychomaniak@1195 44 cd dist
psychomaniak@1198 45 for i in bin lib share/applications;
psychomaniak@1198 46 do install -d $DESTDIR/usr/$i; done
psychomaniak@1198 47 cp -a $PACKAGE $DESTDIR/usr/lib/$PACKAGE
psychomaniak@1198 48 cp -a $src/browser/branding/official/$PACKAGE.desktop \
psychomaniak@1198 49 $install/usr/share/applications
psychomaniak@1187 50 }
psychomaniak@1187 51
psychomaniak@1187 52 # Rules to gen a SliTaz package suitable for Tazpkg.
psychomaniak@1187 53 genpkg_rules()
psychomaniak@1187 54 {
psychomaniak@1187 55 cp -a $install/* $fs
psychomaniak@1198 56 mkdir -p $fs/usr/share/pixmaps
psychomaniak@1198 57 ln -sf /usr/lib/$PACKAGE/$PACKAGE $fs/usr/bin
psychomaniak@1198 58 ln -sf /usr/lib/$PACKAGE/browser/chrome/icons/default/default48.png \
psychomaniak@1198 59 $fs/usr/share/pixmaps/palemoon.png
psychomaniak@1198 60 ln -s palemoon $fs/usr/bin/browser-html5
psychomaniak@1187 61 }