wok-current diff palemoon/receipt @ rev 19084
Add: autoconf213, palemoon
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Apr 30 00:11:09 2016 +0200 (2016-04-30) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/palemoon/receipt Sat Apr 30 00:11:09 2016 +0200 1.3 @@ -0,0 +1,79 @@ 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 wget cacerts" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + cat > mozconfig <<EOT 1.25 +export MOZILLA_OFFICIAL=1 1.26 +mk_add_options MOZ_CO_PROJECT=browser 1.27 +mk_add_options MOZ_MAKE_FLAGS="-j4" 1.28 +ac_add_options --enable-official-branding 1.29 +ac_add_options --enable-application=browser 1.30 +ac_add_options --disable-tests 1.31 +ac_add_options --disable-mochitests 1.32 +ac_add_options --disable-debug 1.33 +ac_add_options --disable-pulseaudio 1.34 +ac_add_options --with-pthreads 1.35 +ac_add_options --enable-shared-js 1.36 +ac_add_options --enable-jemalloc 1.37 +ac_add_options --enable-jemalloc-lib 1.38 +ac_add_options --enable-gstreamer=0.10 1.39 +ac_add_options --enable-optimize="-O2 -march=i486 -mtune=i686" 1.40 +ac_add_options --enable-strip 1.41 +ac_add_options --x-libraries=/usr/lib 1.42 +ac_add_options --prefix=/usr 1.43 +ac_add_options --disable-b2g-bt 1.44 +ac_add_options --disable-b2g-camera 1.45 +ac_add_options --disable-b2g-ril 1.46 +ac_add_options --disable-accessibility 1.47 +ac_add_options --disable-codesighs 1.48 +ac_add_options --disable-crashreporter 1.49 +ac_add_options --disable-gamepad 1.50 +ac_add_options --disable-installer 1.51 +ac_add_options --disable-logging 1.52 +ac_add_options --disable-mobile-optimize 1.53 +ac_add_options --disable-metro 1.54 +ac_add_options --disable-maintenance-service 1.55 +ac_add_options --disable-necko-wifi 1.56 +ac_add_options --disable-parental-controls 1.57 +ac_add_options --disable-updater 1.58 +ac_add_options --disable-webrtc 1.59 +ac_add_options --disable-websms-backend 1.60 +ac_add_options --disable-windows-mobile-components 1.61 +ac_add_options --disable-valgrind 1.62 +EOT 1.63 + 1.64 + export MOZBUILD_STATE_PATH="$src/mozbuild" 1.65 + export MOZCONFIG="$src/mozconfig" 1.66 + export CPPFLAGS="$CPPFLAGS -O2" 1.67 + export MAKEFLAGS="-j3" 1.68 + python2 mach configure 1.69 + python2 mach build || echo "Next =>" 1.70 + python2 mach build 1.71 + cd $src/obj-i686-pc-linux-gnu 1.72 + make package ; cd dist 1.73 + install -d "$DESTDIR"/usr/bin 1.74 + install -d "$DESTDIR"/usr/lib 1.75 + cp -a palemoon/ "$DESTDIR/usr/lib/$PACKAGE" 1.76 +} 1.77 + 1.78 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.79 +genpkg_rules() 1.80 +{ 1.81 + cp -a $install/* $fs 1.82 +}