wok-next rev 21263
firefox: added build dependency libffi-dev
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 06 15:41:45 2019 +0100 (2019-12-06) |
parents | c48dff53ea67 |
children | 504d63fea9da |
files | firefox/receipt |
line diff
1.1 --- a/firefox/receipt Fri Dec 06 15:20:25 2019 +0100 1.2 +++ b/firefox/receipt Fri Dec 06 15:41:45 2019 +0100 1.3 @@ -11,10 +11,10 @@ 1.4 TARBALL="$PACKAGE-$VERSION.source.tar.bz2" 1.5 WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/source/$TARBALL" 1.6 1.7 -BUILD_DEPENDS="zip libidl coreutils findutils wireless_tools-dev \ 1.8 -perl python yasm alsa-lib-dev mesa-dev libevent-dev libvpx-dev dbus-dev \ 1.9 -dbus-glib-dev gtk2-dev glib-dev pango-dev nss-dev sqlite3-dev tar gzip \ 1.10 -libjpeg-turbo-dev" 1.11 +BUILD_DEPENDS="alsa-lib-dev coreutils dbus-dev dbus-glib-dev findutils 1.12 + glib-dev gtk2-dev gzip libevent-dev libffi-dev libidl 1.13 + libjpeg-turbo-dev libvpx-dev mesa-dev nss-dev pango-dev perl 1.14 + python sqlite3-dev tar wireless_tools-dev yasm zip" 1.15 SPLIT="$PACKAGE-dev libfirefox" 1.16 1.17 # A long compile time... dont forget to build libidl before and check the 1.18 @@ -24,7 +24,8 @@ 1.19 # build time. 1.20 # At least 2.5 GB free disk space 1.21 1.22 -compile_rules() { 1.23 +compile_rules() 1.24 +{ 1.25 # load mozconfig 1.26 cp -a $stuff/mozconfig $src 1.27 1.28 @@ -57,7 +58,8 @@ 1.29 ln -sf ../mozilla/plugins $install/usr/lib/firefox-$VERSION 1.30 } 1.31 1.32 -genpkg_rules() { 1.33 +genpkg_rules() 1.34 +{ 1.35 case $PACKAGE in 1.36 firefox) 1.37 # program 1.38 @@ -184,11 +186,14 @@ 1.39 esac 1.40 } 1.41 1.42 -post_install_firefox_dev() { 1.43 - for i in usr/share/idl/firefox- usr/include/firefox- usr/lib/firefox-devel-; do 1.44 - for j in $(ls -d "$1"/$i* 2>/dev/null); do 1.45 +post_install_firefox_dev() 1.46 +{ 1.47 + for i in usr/share/idl/firefox- usr/include/firefox- usr/lib/firefox-devel- 1.48 + do 1.49 + for j in $(ls -d "$1"/$i* 2>/dev/null) 1.50 + do 1.51 [ "${j##*-}" = "$VERSION" ] && continue 1.52 [ ! -d "$j" ] || rm -rf "$j" 1.53 - done 1.54 - done 1.55 + done 1.56 + done 1.57 }