17 |
|
|
18 |
# direct mecurial export |
# direct mecurial export |
19 |
SRCFILE="FIREFOX_${PVER//./_}esr_RELEASE.tar.bz2" |
SRCFILE="FIREFOX_${PVER//./_}esr_RELEASE.tar.bz2" |
20 |
PATCHDIR="${BUILDDIR}/mozilla-unified-FIREFOX_${PVER//./_}esr_RELEASE" |
SRCDIR="${BUILDDIR}/mozilla-unified-FIREFOX_${PVER//./_}esr_RELEASE" |
|
SRCDIR="${PATCHDIR}/js/src" |
|
21 |
|
|
22 |
EMUL_LINUX_32=true |
EMUL_LINUX_32=true |
23 |
sminclude multilib mbuild |
sminclude multilib |
24 |
msetfeature "!check" |
msetfeature "!check" |
25 |
|
|
26 |
SRC_URI=( |
SRC_URI=( |
37 |
src_prepare() |
src_prepare() |
38 |
{ |
{ |
39 |
munpack ${SRCFILE} || die |
munpack ${SRCFILE} || die |
40 |
SRCDIR="${PATCHDIR}" mpatch ${PNAME}-${PVER}-fix-soname.patch || die |
mpatch ${PNAME}-${PVER}-fix-soname.patch || die |
41 |
SRCDIR="${PATCHDIR}" mpatch ${PNAME}-${PVER}-copy-headers.patch || die |
mpatch ${PNAME}-${PVER}-copy-headers.patch || die |
42 |
SRCDIR="${PATCHDIR}" mpatch ${PNAME}-${PVER}-disable-mozglue.patch || die |
mpatch ${PNAME}-${PVER}-disable-mozglue.patch || die |
43 |
SRCDIR="${PATCHDIR}" mpatch ${PNAME}-${PVER}-include-configure-script.patch || die |
mpatch ${PNAME}-${PVER}-include-configure-script.patch || die |
44 |
} |
} |
45 |
|
|
46 |
src_compile() |
src_compile() |
51 |
export CXX=g++ |
export CXX=g++ |
52 |
export PYTHON=/usr/bin/python2 |
export PYTHON=/usr/bin/python2 |
53 |
|
|
54 |
|
SRCDIR="${SRCDIR}/js/src" \ |
55 |
mconfigure \ |
mconfigure \ |
56 |
--disable-debug \ |
--disable-debug \ |
57 |
--disable-debug-symbols \ |
--disable-debug-symbols \ |
69 |
--without-system-icu \ |
--without-system-icu \ |
70 |
|| die |
|| die |
71 |
|
|
72 |
mmake || die |
SRCDIR="${SRCDIR}/js/src" mmake || die |
73 |
|
} |
74 |
|
|
75 |
|
src_install() |
76 |
|
{ |
77 |
|
SRCDIR="${SRCDIR}/js/src" mmake DESTDIR=${BINDIR} install || die |
78 |
} |
} |