3 # Build autoconf 2.13 for browser's sole use.
8 --prefix="$PWD/../junk" \
22 make DESTDIR="$PWD/../junk" install
25 for f in zip unzip; do (
29 CC="$CC $CFLAGS $CXXFLAGS" \
30 -f unix/Makefile generic
33 prefix="$PWD/../junk" \
34 -f unix/Makefile install
37 export PATH="$PWD/junk/bin:$PATH"
39 sed -e 's#%SRCDIR%#'"$(realpath .)"'#g' -e "s#%CFLAGS%#$CFLAGS#g" mozconfig.in > .mozconfig
41 for patch in *.patch; do
45 export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/browser"
53 cp -r objdir/dist/palemoon "$1/usr/lib/browser"
54 ln -s ../lib/browser/palemoon "$1/usr/bin/browser"