|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
# Order: dalist ntapi pemagine psxtypes psxscl ntctty
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
parse_with_pkg_name ${2} \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
dalist ntapi ntctty pemagine psxscl psxtypes;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
if is_build_script_done finished; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
exit 212;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
else
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
fetch_git ${PKG_SUBDIR} ${PKG_URL};
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
set_build_dir ${PKG_SUBDIR} cross;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
fi;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
if ! is_build_script_done configured; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
rm_if_exists -m -c ${BUILD_DIR};
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
../${PKG_SUBDIR}/configure \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
--prefix=${PREFIX_NATIVE} \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
--host=${HOST_NATIVE} \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
--target=${TARGET} \
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
--sysroot=/;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
set_build_script_done configured -built;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
else
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
cd ${BUILD_DIR};
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
fi;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
if ! is_build_script_done built; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
make ${MAKEFLAGS};
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
set_build_script_done built -installed;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
fi;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
if ! is_build_script_done installed; then
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
make ${MAKEFLAGS} install;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
set_build_script_done installed finished;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
fi;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
75a203 |
# vim:filetype=sh
|