# HG changeset patch # User Hans-G?nter Theisgen # Date 1575643305 -3600 # Node ID e2ca14d218053ea3455002e9781d20fa6fb1e7fa # Parent c48dff53ea6778a8512a331c328da19b5d7523b8 firefox: added build dependency libffi-dev diff -r c48dff53ea67 -r e2ca14d21805 firefox/receipt --- a/firefox/receipt Fri Dec 06 15:20:25 2019 +0100 +++ b/firefox/receipt Fri Dec 06 15:41:45 2019 +0100 @@ -11,10 +11,10 @@ TARBALL="$PACKAGE-$VERSION.source.tar.bz2" WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/source/$TARBALL" -BUILD_DEPENDS="zip libidl coreutils findutils wireless_tools-dev \ -perl python yasm alsa-lib-dev mesa-dev libevent-dev libvpx-dev dbus-dev \ -dbus-glib-dev gtk2-dev glib-dev pango-dev nss-dev sqlite3-dev tar gzip \ -libjpeg-turbo-dev" +BUILD_DEPENDS="alsa-lib-dev coreutils dbus-dev dbus-glib-dev findutils + glib-dev gtk2-dev gzip libevent-dev libffi-dev libidl + libjpeg-turbo-dev libvpx-dev mesa-dev nss-dev pango-dev perl + python sqlite3-dev tar wireless_tools-dev yasm zip" SPLIT="$PACKAGE-dev libfirefox" # A long compile time... dont forget to build libidl before and check the @@ -24,7 +24,8 @@ # build time. # At least 2.5 GB free disk space -compile_rules() { +compile_rules() +{ # load mozconfig cp -a $stuff/mozconfig $src @@ -57,7 +58,8 @@ ln -sf ../mozilla/plugins $install/usr/lib/firefox-$VERSION } -genpkg_rules() { +genpkg_rules() +{ case $PACKAGE in firefox) # program @@ -184,11 +186,14 @@ esac } -post_install_firefox_dev() { - for i in usr/share/idl/firefox- usr/include/firefox- usr/lib/firefox-devel-; do - for j in $(ls -d "$1"/$i* 2>/dev/null); do +post_install_firefox_dev() +{ + for i in usr/share/idl/firefox- usr/include/firefox- usr/lib/firefox-devel- + do + for j in $(ls -d "$1"/$i* 2>/dev/null) + do [ "${j##*-}" = "$VERSION" ] && continue [ ! -d "$j" ] || rm -rf "$j" - done - done + done + done }