wok rev 19086
Add palemoon
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Apr 30 14:57:46 2016 +0200 (2016-04-30) |
parents | 96baf08274da |
children | 2b78860f3817 |
files | palemoon/receipt palemoon/stuff/mozconfig |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/palemoon/receipt Sat Apr 30 14:57:46 2016 +0200 1.3 @@ -0,0 +1,48 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="palemoon" 1.7 +VERSION="26.2.1" 1.8 +CATEGORY="network" 1.9 +LICENSE="MPL2" 1.10 +SHORT_DESC="Browser based on Firefox that's optimised for performance" 1.11 +WEB_SITE="http://palemoon.org" 1.12 +MAINTAINER="psychomaniak@xakep.ru" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WGET_URL="https://github.com/MoonchildProductions/Pale-Moon/archive/${VERSION}_Release.tar.gz" 1.15 + 1.16 +DEPENDS="gtk+" 1.17 +BUILD_DEPENDS="autoconf213 gtk+-dev yasm zip unzip iw dbus-dev dbus-glib-dev \ 1.18 +iw libpng-dev gstreamer gstreamer-dev gst-plugins-base-dev gst-plugins-base \ 1.19 +libvpx-dev mesa-dev setuptools virtualenv zlib-dev python-dev" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + cp $stuff/mozconfig $src 1.25 + chmod -R +x build/autoconf/* python/* 1.26 + find . -name '*.sh' -exec chmod +x {} \; 1.27 + export MOZBUILD_STATE_PATH="$src/mozbuild" 1.28 + export MOZCONFIG="$src/mozconfig" 1.29 + export CPPFLAGS="$CPPFLAGS -O2" 1.30 + export MAKEFLAGS="$MAKEFLAGS" 1.31 + python2 mach configure 1.32 + python2 mach build || echo "Next =>" 1.33 + python2 mach build 1.34 + cd $src/obj-i686-pc-linux-gnu 1.35 + ( make package | egrep -v 'error|ERROR' ) > ./instLOG 2>&1 1.36 + cd dist 1.37 + for i in bin lib share/applications; 1.38 + do install -d $DESTDIR/usr/$i; done 1.39 + cp -a $PACKAGE $DESTDIR/usr/lib/$PACKAGE 1.40 + cp -a $src/browser/branding/official/$PACKAGE.desktop \ 1.41 + $install/usr/share/applications 1.42 +} 1.43 + 1.44 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.45 +genpkg_rules() 1.46 +{ 1.47 + cp -a $install/* $fs 1.48 + ln -sf /usr/lib/$PACKAGE/$PACKAGE $fs/usr/bin 1.49 + ln -sf /usr/lib/$PACKAGE/browser/chrome/icons/default/default48.png \ 1.50 + $fs/usr/share/pixmaps/palemoon.png 1.51 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/palemoon/stuff/mozconfig Sat Apr 30 14:57:46 2016 +0200 2.3 @@ -0,0 +1,42 @@ 2.4 +export MOZILLA_OFFICIAL=1 2.5 +ac_add_options --with-distribution-id=SliTaz 2.6 + 2.7 +mk_add_options MOZ_CO_PROJECT=browser 2.8 +mk_add_options MOZ_MAKE_FLAGS="$MAKEFLAGS" 2.9 + 2.10 +ac_add_options --enable-official-branding 2.11 +ac_add_options --enable-application=browser 2.12 +ac_add_options --disable-tests 2.13 +ac_add_options --disable-mochitests 2.14 +ac_add_options --disable-debug 2.15 +ac_add_options --disable-pulseaudio 2.16 +ac_add_options --with-pthreads 2.17 +ac_add_options --enable-shared-js 2.18 +ac_add_options --enable-jemalloc 2.19 +ac_add_options --enable-jemalloc-lib 2.20 +ac_add_options --enable-gstreamer=0.10 2.21 +ac_add_options --enable-optimize="-mtune=i686" 2.22 +ac_add_options --enable-strip 2.23 +ac_add_options --x-libraries=/usr/lib 2.24 +ac_add_options --prefix=/usr 2.25 +ac_add_options --silent 2.26 + 2.27 +ac_add_options --disable-b2g-bt 2.28 +ac_add_options --disable-b2g-camera 2.29 +ac_add_options --disable-b2g-ril 2.30 +ac_add_options --disable-accessibility 2.31 +ac_add_options --disable-codesighs 2.32 +ac_add_options --disable-crashreporter 2.33 +ac_add_options --disable-gamepad 2.34 +ac_add_options --disable-installer 2.35 +ac_add_options --disable-logging 2.36 +ac_add_options --disable-mobile-optimize 2.37 +ac_add_options --disable-metro 2.38 +ac_add_options --disable-maintenance-service 2.39 +ac_add_options --disable-necko-wifi 2.40 +ac_add_options --disable-parental-controls 2.41 +ac_add_options --disable-updater 2.42 +ac_add_options --disable-webrtc 2.43 +ac_add_options --disable-websms-backend 2.44 +ac_add_options --disable-windows-mobile-components 2.45 +ac_add_options --disable-valgrind