Lines 22-27
Link Here
|
22 |
NO_CDROM= 'Must be downloaded direct from Sun via www interface' |
22 |
NO_CDROM= 'Must be downloaded direct from Sun via www interface' |
23 |
|
23 |
|
24 |
USE_LINUX= yes |
24 |
USE_LINUX= yes |
|
|
25 |
USE_REINPLACE= yes |
25 |
IS_INTERACTIVE= yes |
26 |
IS_INTERACTIVE= yes |
26 |
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} |
27 |
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} |
27 |
EXTRACT_CMD= ${CAT} |
28 |
EXTRACT_CMD= ${CAT} |
Lines 56-62
Link Here
|
56 |
@${GZIP_CMD} -d ${WRKDIR}/applicat.rdb.gz |
57 |
@${GZIP_CMD} -d ${WRKDIR}/applicat.rdb.gz |
57 |
|
58 |
|
58 |
post-configure: |
59 |
post-configure: |
59 |
@${PERL} -pi.orig -e 's|DefaultDestPath = "Office51";|DefaultDestPath = "${PREFIX}/Office51";|' ${WRKSRC}/office51/setup.ins |
60 |
@${REINPLACE_CMD} -e 's|\(DefaultDestPath = \)"Office51";|\1"${PREFIX}/Office51";|' ${WRKSRC}/office51/setup.ins |
60 |
|
61 |
|
61 |
do-install: |
62 |
do-install: |
62 |
@${CP} /compat/linux/etc/ld.so.conf ${TMPDIR}/ld.so.conf.tmp |
63 |
@${CP} /compat/linux/etc/ld.so.conf ${TMPDIR}/ld.so.conf.tmp |
Lines 75-81
Link Here
|
75 |
@${CHMOD} 100755 ${PREFIX}/Office51/lib/libsdb517li.so |
76 |
@${CHMOD} 100755 ${PREFIX}/Office51/lib/libsdb517li.so |
76 |
@${PATCH} -s ${PREFIX}/Office51/bin/setup ${FILESDIR}/setup.patch |
77 |
@${PATCH} -s ${PREFIX}/Office51/bin/setup ${FILESDIR}/setup.patch |
77 |
@${PATCH} -s ${PREFIX}/Office51/bin/soffice ${FILESDIR}/soffice.patch |
78 |
@${PATCH} -s ${PREFIX}/Office51/bin/soffice ${FILESDIR}/soffice.patch |
78 |
@${PERL} -pi -e 's|DefaultDestPath = "${PREFIX}/Office51";|DefaultDestPath = "~/Office51";|' ${PREFIX}/Office51/instdb.ins |
79 |
@${REINPLACE_CMD} -e 's|\(DefaultDestPath = \)"${PREFIX}/Office51";|\1"~/Office51";|' ${PREFIX}/Office51/instdb.ins |
79 |
|
80 |
|
80 |
install-user: |
81 |
install-user: |
81 |
${PREFIX}/Office51/bin/setup |
82 |
${PREFIX}/Office51/bin/setup |