26 lines
424 B
Bash
Executable File
26 lines
424 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Lua cannot be build in a seperate directory!
|
|
#
|
|
|
|
source "$(dirname $0)/../lib/libem.bash"
|
|
|
|
function em.configure() {
|
|
cd "${MODULE_SRCDIR}"
|
|
"${MODULE_SRCDIR}"/configure \
|
|
--prefix="${PREFIX}" \
|
|
|| exit 1
|
|
}
|
|
|
|
function em.build() {
|
|
cd "${MODULE_SRCDIR}"
|
|
|
|
make -j ${JOBS}
|
|
}
|
|
|
|
em.supported_os ''
|
|
em.add_to_family 'Programming'
|
|
em.set_build_dependencies "${COMPILER}"
|
|
em.make_all
|
|
em.cleanup_src
|