Lines 18-24
Link Here
|
18 |
doc? ( http://www.zeroc.com/download/Ice/$(get_version_component_range 1-2)/${P}.pdf.gz )" |
18 |
doc? ( http://www.zeroc.com/download/Ice/$(get_version_component_range 1-2)/${P}.pdf.gz )" |
19 |
LICENSE="GPL-2" |
19 |
LICENSE="GPL-2" |
20 |
SLOT="0" |
20 |
SLOT="0" |
21 |
KEYWORDS="~amd64 ~arm ~x86" |
21 |
KEYWORDS="~x64-macos" |
22 |
IUSE="doc examples +ncurses mono python ruby test debug" |
22 |
IUSE="doc examples +ncurses mono python ruby test debug" |
23 |
|
23 |
|
24 |
RDEPEND=">=dev-libs/expat-2.0.1 |
24 |
RDEPEND=">=dev-libs/expat-2.0.1 |
Lines 90-99
Link Here
|
90 |
} |
90 |
} |
91 |
|
91 |
|
92 |
src_configure() { |
92 |
src_configure() { |
93 |
MAKE_RULES="prefix=\"${D}/usr\" |
93 |
MAKE_RULES="prefix=\"${ED}/usr\" |
94 |
install_docdir=\"${D}/usr/share/doc/${PF}\" |
94 |
install_docdir=\"${ED}/usr/share/doc/${PF}\" |
95 |
install_configdir=\"${D}/usr/share/Ice-${PV}/config\" |
95 |
install_configdir=\"${ED}/usr/share/Ice-${PV}/config\" |
96 |
embedded_runpath_prefix=\"\" |
96 |
embedded_runpath_prefix=\"${EPREFIX}/usr\" |
97 |
LP64=yes" |
97 |
LP64=yes" |
98 |
|
98 |
|
99 |
use ncurses && OPTIONS="${MAKE_RULES} USE_READLINE=yes" || MAKE_RULES="${MAKE_RULES} USE_READLINE=no" |
99 |
use ncurses && OPTIONS="${MAKE_RULES} USE_READLINE=yes" || MAKE_RULES="${MAKE_RULES} USE_READLINE=no" |
Lines 115-122
Link Here
|
115 |
|
115 |
|
116 |
if use ruby ; then |
116 |
if use ruby ; then |
117 |
SITERUBY="$(ruby18 -r rbconfig -e 'print Config::CONFIG["sitedir"]')" |
117 |
SITERUBY="$(ruby18 -r rbconfig -e 'print Config::CONFIG["sitedir"]')" |
118 |
MAKE_RULES_RB="install_rubydir=\"${D}/${SITERUBY}\" |
118 |
MAKE_RULES_RB="install_rubydir=\"${ED}/${SITERUBY}\" |
119 |
install_libdir=\"${D}/${SITERUBY}\"" |
119 |
install_libdir=\"${ED}/${SITERUBY}\"" |
120 |
|
120 |
|
121 |
# make it use ruby18 only |
121 |
# make it use ruby18 only |
122 |
sed -i \ |
122 |
sed -i \ |
Lines 124-130
Link Here
|
124 |
rb/config/Make.rules || die "sed failed" |
124 |
rb/config/Make.rules || die "sed failed" |
125 |
fi |
125 |
fi |
126 |
|
126 |
|
127 |
MAKE_RULES_CS="GACINSTALL=yes GAC_ROOT=\"${D}/usr/$(get_libdir)\" GAC_DIR=/usr/$(get_libdir)" |
127 |
MAKE_RULES_CS="GACINSTALL=yes GAC_ROOT=\"${ED}/usr/$(get_libdir)\" GAC_DIR=${EPREFIX}/usr/$(get_libdir)" |
128 |
|
128 |
|
129 |
} |
129 |
} |
130 |
|
130 |
|
Lines 196-202
Link Here
|
196 |
doins -r py.orig/demo/* |
196 |
doins -r py.orig/demo/* |
197 |
fi |
197 |
fi |
198 |
|
198 |
|
199 |
cd "${D}/$(python_get_sitedir -f)" |
199 |
cd "${ED}/$(python_get_sitedir -f)" |
200 |
PYTHON_MODULES=(*.py) |
200 |
PYTHON_MODULES=(*.py) |
201 |
PYTHON_MODULES+=(IceBox IceGrid IcePatch2 IceStorm) |
201 |
PYTHON_MODULES+=(IceBox IceGrid IcePatch2 IceStorm) |
202 |
cd "${S}" |
202 |
cd "${S}" |
Lines 219-225
Link Here
|
219 |
emake -C cs ${MAKE_RULES} ${MAKE_RULES_CS} install || die "emake cs install failed" |
219 |
emake -C cs ${MAKE_RULES} ${MAKE_RULES_CS} install || die "emake cs install failed" |
220 |
|
220 |
|
221 |
# TODO: anyone has an idea what those are for? |
221 |
# TODO: anyone has an idea what those are for? |
222 |
rm "${D}"/usr/bin/*.xml |
222 |
rm "${ED}"/usr/bin/*.xml |
223 |
|
223 |
|
224 |
docinto cs |
224 |
docinto cs |
225 |
dodoc cs/CHANGES cs/README |
225 |
dodoc cs/CHANGES cs/README |