wok-undigest annotate palemoon/receipt @ rev 1191
Add palemoon (again)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Apr 29 23:57:52 2016 +0200 (2016-04-29) |
parents | a1fad889f291 |
children | ea27d3669f6d |
rev | line source |
---|---|
psychomaniak@1187 | 1 # SliTaz package receipt. |
psychomaniak@1187 | 2 |
psychomaniak@1187 | 3 PACKAGE="palemoon" |
psychomaniak@1187 | 4 VERSION="26.2.1" |
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@1187 | 12 |
psychomaniak@1187 | 13 DEPENDS="gtk+ " |
psychomaniak@1187 | 14 |
psychomaniak@1187 | 15 BUILD_DEPENDS="autoconf213 gtk+-dev yasm zip unzip iw dbus-dev dbus-glib-dev \ |
psychomaniak@1187 | 16 iw libpng-dev gstreamer gstreamer-dev gst-plugins-base-dev gst-plugins-base \ |
psychomaniak@1190 | 17 libvpx-dev mesa-dev setuptools virtualenv zlib-dev python-dev wget cacerts" |
psychomaniak@1187 | 18 |
psychomaniak@1187 | 19 # Rules to configure and make the package. |
psychomaniak@1187 | 20 compile_rules() |
psychomaniak@1187 | 21 { |
psychomaniak@1187 | 22 cat > mozconfig <<EOT |
psychomaniak@1187 | 23 export MOZILLA_OFFICIAL=1 |
psychomaniak@1187 | 24 mk_add_options MOZ_CO_PROJECT=browser |
psychomaniak@1187 | 25 mk_add_options MOZ_MAKE_FLAGS="-j4" |
psychomaniak@1187 | 26 ac_add_options --enable-official-branding |
psychomaniak@1187 | 27 ac_add_options --enable-application=browser |
psychomaniak@1187 | 28 ac_add_options --disable-tests |
psychomaniak@1187 | 29 ac_add_options --disable-mochitests |
psychomaniak@1187 | 30 ac_add_options --disable-debug |
psychomaniak@1187 | 31 ac_add_options --disable-pulseaudio |
psychomaniak@1187 | 32 ac_add_options --with-pthreads |
psychomaniak@1187 | 33 ac_add_options --enable-shared-js |
psychomaniak@1187 | 34 ac_add_options --enable-jemalloc |
psychomaniak@1187 | 35 ac_add_options --enable-jemalloc-lib |
psychomaniak@1187 | 36 ac_add_options --enable-gstreamer=0.10 |
psychomaniak@1187 | 37 ac_add_options --enable-optimize="-O2 -march=i486 -mtune=i686" |
psychomaniak@1187 | 38 ac_add_options --enable-strip |
psychomaniak@1187 | 39 ac_add_options --x-libraries=/usr/lib |
psychomaniak@1187 | 40 ac_add_options --prefix=/usr |
psychomaniak@1187 | 41 ac_add_options --disable-b2g-bt |
psychomaniak@1187 | 42 ac_add_options --disable-b2g-camera |
psychomaniak@1187 | 43 ac_add_options --disable-b2g-ril |
psychomaniak@1187 | 44 ac_add_options --disable-accessibility |
psychomaniak@1187 | 45 ac_add_options --disable-codesighs |
psychomaniak@1187 | 46 ac_add_options --disable-crashreporter |
psychomaniak@1187 | 47 ac_add_options --disable-gamepad |
psychomaniak@1187 | 48 ac_add_options --disable-installer |
psychomaniak@1187 | 49 ac_add_options --disable-logging |
psychomaniak@1187 | 50 ac_add_options --disable-mobile-optimize |
psychomaniak@1187 | 51 ac_add_options --disable-metro |
psychomaniak@1187 | 52 ac_add_options --disable-maintenance-service |
psychomaniak@1187 | 53 ac_add_options --disable-necko-wifi |
psychomaniak@1187 | 54 ac_add_options --disable-parental-controls |
psychomaniak@1187 | 55 ac_add_options --disable-updater |
psychomaniak@1187 | 56 ac_add_options --disable-webrtc |
psychomaniak@1187 | 57 ac_add_options --disable-websms-backend |
psychomaniak@1187 | 58 ac_add_options --disable-windows-mobile-components |
psychomaniak@1187 | 59 ac_add_options --disable-valgrind |
psychomaniak@1187 | 60 EOT |
psychomaniak@1187 | 61 |
psychomaniak@1187 | 62 export MOZBUILD_STATE_PATH="$src/mozbuild" |
psychomaniak@1187 | 63 export MOZCONFIG="$src/mozconfig" |
psychomaniak@1191 | 64 export CPPFLAGS="$CPPFLAGS -O2 -std=gnu++0x" |
psychomaniak@1187 | 65 export MAKEFLAGS="-j3" |
psychomaniak@1191 | 66 python2 mach configure |
psychomaniak@1187 | 67 python2 mach build || echo "Next =>" |
psychomaniak@1187 | 68 python2 mach build |
psychomaniak@1187 | 69 cd $src/obj-i686-pc-linux-gnu |
psychomaniak@1187 | 70 make package ; cd dist |
psychomaniak@1187 | 71 install -d "$DESTDIR"/usr/bin |
psychomaniak@1187 | 72 install -d "$DESTDIR"/usr/lib |
psychomaniak@1187 | 73 cp -a palemoon/ "$DESTDIR/usr/lib/$PACKAGE" |
psychomaniak@1187 | 74 } |
psychomaniak@1187 | 75 |
psychomaniak@1187 | 76 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@1187 | 77 genpkg_rules() |
psychomaniak@1187 | 78 { |
psychomaniak@1187 | 79 cp -a $install/* $fs |
psychomaniak@1187 | 80 } |