30 lines
420 B
Bash
Executable File
30 lines
420 B
Bash
Executable File
#!/bin/bash
|
|
|
|
source "$(dirname $0)/../lib/libem.bash"
|
|
|
|
function em.configure() {
|
|
"${EM_SRCDIR}"/configure \
|
|
--prefix="${PREFIX}" \
|
|
|| exit 1
|
|
}
|
|
|
|
function em.install_doc() {
|
|
install -m 0444 \
|
|
AUTHORS \
|
|
COPYING \
|
|
COPYING.EXCEPTION \
|
|
COPYINGv3 \
|
|
NEWS \
|
|
README \
|
|
THANKS \
|
|
"${DOCDIR}"
|
|
}
|
|
|
|
# use system gcc to compile
|
|
declare -rx CC=gcc
|
|
|
|
em.add_to_family "core"
|
|
em.set_build_dependencies "m4"
|
|
em.make_all
|
|
|