all build scripts moved to a sub-directory according their name
This commit is contained in:
25
scripts/Programming/lua.build
Executable file
25
scripts/Programming/lua.build
Executable file
@@ -0,0 +1,25 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user