wok-next rev 19084
Add: autoconf213, palemoon
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Apr 30 00:11:09 2016 +0200 (2016-04-30) |
parents | ab91e46d5cbc |
children | 96baf08274da |
files | autoconf213/receipt palemoon/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/autoconf213/receipt Sat Apr 30 00:11:09 2016 +0200 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="autoconf213" 1.7 +VERSION="2.13" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="A GNU tool for automatically configuring source code" 1.10 +MAINTAINER="psychomaniak@xakep.ru" 1.11 +LICENSE="GPL2" 1.12 +WEB_SITE="http://www.gnu.org/software/autoconf/" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WGET_URL="http://ftpmirror.gnu.org/autoconf/autoconf-$VERSION.tar.gz" 1.15 + 1.16 +DEPENDS="m4 perl" 1.17 +BUILD_DEPENDS="m4 perl sed" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + ./configure --prefix=/usr --program-suffix=-2.13 1.23 + make && 1.24 + make prefix="$DESTDIR/usr" install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + cp -a $install/* $fs 1.31 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/palemoon/receipt Sat Apr 30 00:11:09 2016 +0200 2.3 @@ -0,0 +1,79 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="palemoon" 2.7 +VERSION="26.2.1" 2.8 +CATEGORY="network" 2.9 +LICENSE="MPL2" 2.10 +SHORT_DESC="Browser based on Firefox that's optimised for performance" 2.11 +WEB_SITE="http://palemoon.org" 2.12 +MAINTAINER="psychomaniak@xakep.ru" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.14 +WGET_URL="https://github.com/MoonchildProductions/Pale-Moon/archive/${VERSION}_Release.tar.gz" 2.15 + 2.16 +DEPENDS="gtk+ " 2.17 +BUILD_DEPENDS="autoconf213 gtk+-dev yasm zip unzip iw dbus-dev dbus-glib-dev \ 2.18 +iw libpng-dev gstreamer gstreamer-dev gst-plugins-base-dev gst-plugins-base \ 2.19 +libvpx-dev mesa-dev setuptools virtualenv zlib-dev python-dev wget cacerts" 2.20 + 2.21 +# Rules to configure and make the package. 2.22 +compile_rules() 2.23 +{ 2.24 + cat > mozconfig <<EOT 2.25 +export MOZILLA_OFFICIAL=1 2.26 +mk_add_options MOZ_CO_PROJECT=browser 2.27 +mk_add_options MOZ_MAKE_FLAGS="-j4" 2.28 +ac_add_options --enable-official-branding 2.29 +ac_add_options --enable-application=browser 2.30 +ac_add_options --disable-tests 2.31 +ac_add_options --disable-mochitests 2.32 +ac_add_options --disable-debug 2.33 +ac_add_options --disable-pulseaudio 2.34 +ac_add_options --with-pthreads 2.35 +ac_add_options --enable-shared-js 2.36 +ac_add_options --enable-jemalloc 2.37 +ac_add_options --enable-jemalloc-lib 2.38 +ac_add_options --enable-gstreamer=0.10 2.39 +ac_add_options --enable-optimize="-O2 -march=i486 -mtune=i686" 2.40 +ac_add_options --enable-strip 2.41 +ac_add_options --x-libraries=/usr/lib 2.42 +ac_add_options --prefix=/usr 2.43 +ac_add_options --disable-b2g-bt 2.44 +ac_add_options --disable-b2g-camera 2.45 +ac_add_options --disable-b2g-ril 2.46 +ac_add_options --disable-accessibility 2.47 +ac_add_options --disable-codesighs 2.48 +ac_add_options --disable-crashreporter 2.49 +ac_add_options --disable-gamepad 2.50 +ac_add_options --disable-installer 2.51 +ac_add_options --disable-logging 2.52 +ac_add_options --disable-mobile-optimize 2.53 +ac_add_options --disable-metro 2.54 +ac_add_options --disable-maintenance-service 2.55 +ac_add_options --disable-necko-wifi 2.56 +ac_add_options --disable-parental-controls 2.57 +ac_add_options --disable-updater 2.58 +ac_add_options --disable-webrtc 2.59 +ac_add_options --disable-websms-backend 2.60 +ac_add_options --disable-windows-mobile-components 2.61 +ac_add_options --disable-valgrind 2.62 +EOT 2.63 + 2.64 + export MOZBUILD_STATE_PATH="$src/mozbuild" 2.65 + export MOZCONFIG="$src/mozconfig" 2.66 + export CPPFLAGS="$CPPFLAGS -O2" 2.67 + export MAKEFLAGS="-j3" 2.68 + python2 mach configure 2.69 + python2 mach build || echo "Next =>" 2.70 + python2 mach build 2.71 + cd $src/obj-i686-pc-linux-gnu 2.72 + make package ; cd dist 2.73 + install -d "$DESTDIR"/usr/bin 2.74 + install -d "$DESTDIR"/usr/lib 2.75 + cp -a palemoon/ "$DESTDIR/usr/lib/$PACKAGE" 2.76 +} 2.77 + 2.78 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.79 +genpkg_rules() 2.80 +{ 2.81 + cp -a $install/* $fs 2.82 +}