wok-current annotate 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 |
rev | line source |
---|---|
psychomaniak@19084 | 1 # SliTaz package receipt. |
psychomaniak@19084 | 2 |
psychomaniak@19084 | 3 PACKAGE="palemoon" |
psychomaniak@19084 | 4 VERSION="26.2.1" |
psychomaniak@19084 | 5 CATEGORY="network" |
psychomaniak@19084 | 6 LICENSE="MPL2" |
psychomaniak@19084 | 7 SHORT_DESC="Browser based on Firefox that's optimised for performance" |
psychomaniak@19084 | 8 WEB_SITE="http://palemoon.org" |
psychomaniak@19084 | 9 MAINTAINER="psychomaniak@xakep.ru" |
psychomaniak@19084 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
psychomaniak@19084 | 11 WGET_URL="https://github.com/MoonchildProductions/Pale-Moon/archive/${VERSION}_Release.tar.gz" |
psychomaniak@19084 | 12 |
psychomaniak@19084 | 13 DEPENDS="gtk+ " |
psychomaniak@19084 | 14 BUILD_DEPENDS="autoconf213 gtk+-dev yasm zip unzip iw dbus-dev dbus-glib-dev \ |
psychomaniak@19084 | 15 iw libpng-dev gstreamer gstreamer-dev gst-plugins-base-dev gst-plugins-base \ |
psychomaniak@19084 | 16 libvpx-dev mesa-dev setuptools virtualenv zlib-dev python-dev wget cacerts" |
psychomaniak@19084 | 17 |
psychomaniak@19084 | 18 # Rules to configure and make the package. |
psychomaniak@19084 | 19 compile_rules() |
psychomaniak@19084 | 20 { |
psychomaniak@19084 | 21 cat > mozconfig <<EOT |
psychomaniak@19084 | 22 export MOZILLA_OFFICIAL=1 |
psychomaniak@19084 | 23 mk_add_options MOZ_CO_PROJECT=browser |
psychomaniak@19084 | 24 mk_add_options MOZ_MAKE_FLAGS="-j4" |
psychomaniak@19084 | 25 ac_add_options --enable-official-branding |
psychomaniak@19084 | 26 ac_add_options --enable-application=browser |
psychomaniak@19084 | 27 ac_add_options --disable-tests |
psychomaniak@19084 | 28 ac_add_options --disable-mochitests |
psychomaniak@19084 | 29 ac_add_options --disable-debug |
psychomaniak@19084 | 30 ac_add_options --disable-pulseaudio |
psychomaniak@19084 | 31 ac_add_options --with-pthreads |
psychomaniak@19084 | 32 ac_add_options --enable-shared-js |
psychomaniak@19084 | 33 ac_add_options --enable-jemalloc |
psychomaniak@19084 | 34 ac_add_options --enable-jemalloc-lib |
psychomaniak@19084 | 35 ac_add_options --enable-gstreamer=0.10 |
psychomaniak@19084 | 36 ac_add_options --enable-optimize="-O2 -march=i486 -mtune=i686" |
psychomaniak@19084 | 37 ac_add_options --enable-strip |
psychomaniak@19084 | 38 ac_add_options --x-libraries=/usr/lib |
psychomaniak@19084 | 39 ac_add_options --prefix=/usr |
psychomaniak@19084 | 40 ac_add_options --disable-b2g-bt |
psychomaniak@19084 | 41 ac_add_options --disable-b2g-camera |
psychomaniak@19084 | 42 ac_add_options --disable-b2g-ril |
psychomaniak@19084 | 43 ac_add_options --disable-accessibility |
psychomaniak@19084 | 44 ac_add_options --disable-codesighs |
psychomaniak@19084 | 45 ac_add_options --disable-crashreporter |
psychomaniak@19084 | 46 ac_add_options --disable-gamepad |
psychomaniak@19084 | 47 ac_add_options --disable-installer |
psychomaniak@19084 | 48 ac_add_options --disable-logging |
psychomaniak@19084 | 49 ac_add_options --disable-mobile-optimize |
psychomaniak@19084 | 50 ac_add_options --disable-metro |
psychomaniak@19084 | 51 ac_add_options --disable-maintenance-service |
psychomaniak@19084 | 52 ac_add_options --disable-necko-wifi |
psychomaniak@19084 | 53 ac_add_options --disable-parental-controls |
psychomaniak@19084 | 54 ac_add_options --disable-updater |
psychomaniak@19084 | 55 ac_add_options --disable-webrtc |
psychomaniak@19084 | 56 ac_add_options --disable-websms-backend |
psychomaniak@19084 | 57 ac_add_options --disable-windows-mobile-components |
psychomaniak@19084 | 58 ac_add_options --disable-valgrind |
psychomaniak@19084 | 59 EOT |
psychomaniak@19084 | 60 |
psychomaniak@19084 | 61 export MOZBUILD_STATE_PATH="$src/mozbuild" |
psychomaniak@19084 | 62 export MOZCONFIG="$src/mozconfig" |
psychomaniak@19084 | 63 export CPPFLAGS="$CPPFLAGS -O2" |
psychomaniak@19084 | 64 export MAKEFLAGS="-j3" |
psychomaniak@19084 | 65 python2 mach configure |
psychomaniak@19084 | 66 python2 mach build || echo "Next =>" |
psychomaniak@19084 | 67 python2 mach build |
psychomaniak@19084 | 68 cd $src/obj-i686-pc-linux-gnu |
psychomaniak@19084 | 69 make package ; cd dist |
psychomaniak@19084 | 70 install -d "$DESTDIR"/usr/bin |
psychomaniak@19084 | 71 install -d "$DESTDIR"/usr/lib |
psychomaniak@19084 | 72 cp -a palemoon/ "$DESTDIR/usr/lib/$PACKAGE" |
psychomaniak@19084 | 73 } |
psychomaniak@19084 | 74 |
psychomaniak@19084 | 75 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@19084 | 76 genpkg_rules() |
psychomaniak@19084 | 77 { |
psychomaniak@19084 | 78 cp -a $install/* $fs |
psychomaniak@19084 | 79 } |