wok-next view palemoon/receipt @ rev 21590
updated dialog (1.3-20181107 -> 1.3.20200327)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 07:00:06 2020 +0100 (2020-06-24) |
parents | 5669e8b3be70 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="palemoon"
4 VERSION="28.9.1"
5 CATEGORY="network"
6 TAGS="browser web-browser"
7 SHORT_DESC="Browser based on Firefox that's optimised for performance"
8 MAINTAINER="psychomaniak@xakep.ru"
9 LICENSE="MPL2"
10 WEB_SITE="https://www.palemoon.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/MoonchildProductions/Pale-Moon/archive/${VERSION}_Release.tar.gz"
15 BUILD_DEPENDS="alsa-lib-dev autoconf213 bzip2-dev coreutils-file-special
16 dbus-dev dbus-glib-dev gst0-plugins-base-dev gstreamer0-dev gtk2-dev
17 iw libffi-dev libjpeg-turbo-dev libpng-dev libvpx-dev libxt-dev
18 mesa-dev pixman-dev python-dev spl spl-src unzip virtualenv yasm
19 zip zlib-dev"
20 # sqlite sqlite-dev libevent libevent-dev
22 compile_rules()
23 {
24 find -type f | grep duckduckgo | xargs \
25 sed -i 's|name="t" value="palemoon"|name="t" value="slitaz"|'
26 cp $stuff/mozconfig $src
28 case $ARCH in
29 x86_64) sed -i 's|i686|nocona|' $src/mozconfig;;
30 esac
32 chmod -R +x build/autoconf/* python/*
33 find . -name '*.sh' -exec chmod +x {} \;
34 export CFLAGS=${CFLAGS/486/686}
35 export CXXFLAGS=${CXXFLAGS/486/686}
36 export MOZBUILD_STATE_PATH="$src/mozbuild"
37 export MOZCONFIG="$src/mozconfig"
38 export CPPFLAGS="$CPPFLAGS"
39 export MAKEFLAGS="$MAKEFLAGS"
41 python2 mach configure
42 python2 mach build || echo "Next =>"
43 python2 mach build
44 cd $src/obj-i686-pc-linux-gnu
45 ( make package | egrep -v 'error|ERROR' ) > ./instLOG 2>&1
46 cd dist
47 for i in bin lib share/applications
48 do
49 install -d $install/usr/$i
50 done
51 cp -a $PACKAGE $install/usr/lib/$PACKAGE
52 cp -a $src/browser/branding/official/$PACKAGE.desktop \
53 $install/usr/share/applications
54 }
56 genpkg_rules()
57 {
58 mkdir -p $fs/usr/share/pixmaps
60 cp -a $install/* $fs
61 rm -f /usr/lib/$PACKAGE/$PACKAGE-bin
62 ln -sf /usr/lib/$PACKAGE/$PACKAGE $fs/usr/bin
63 ln -sf /usr/lib/$PACKAGE/browser/chrome/icons/default/default48.png \
64 $fs/usr/share/pixmaps/palemoon.png
65 ln -s palemoon $fs/usr/bin/browser-html5
67 PROVIDE="browser-html5"
68 DEPENDS="gtk2"
69 }