2024-01-22 10:46:08 +00:00
|
|
|
#!/bin/sh
|
|
|
|
name="m4"
|
|
|
|
short_desc="GNU M4"
|
|
|
|
desc="GNU M4 is an implementation of the traditional Unix macro processor.
|
|
|
|
|
|
|
|
It is mostly SVR4 compatible although it has some extensions (for example, handling more than 9 positional
|
|
|
|
parameters to macros).
|
|
|
|
|
|
|
|
GNU M4 also has built-in functions for including files, running shell commands, doing arithmetic, etc. "
|
|
|
|
category="devel"
|
|
|
|
version="1.4.19"
|
|
|
|
maintainer="ffqq@danwin1210.de"
|
|
|
|
www="https://www.gnu.org/software/m4/"
|
|
|
|
master_site="ftp://ftp.gnu.org/gnu/m4"
|
|
|
|
source_name="$name-$version.tar.gz"
|
|
|
|
license_logic="single" # accepted values: single, and, or
|
|
|
|
licenses=("GPLv3")
|
|
|
|
|
2024-01-22 15:24:31 +00:00
|
|
|
build_dependencies=("devel/gmake" "lang/gcc")
|
2024-01-22 10:46:08 +00:00
|
|
|
run_dependencies=("system/glibc")
|
|
|
|
|
|
|
|
build_process() {
|
|
|
|
cd $name-$version || exit 1
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--program-prefix=g
|
|
|
|
make -j$(nproc)
|
|
|
|
make DESTDIR="$TAMANDUA_STAGE_DIR" install
|
|
|
|
rm -r $TAMANDUA_STAGE_DIR/usr/share/info
|
|
|
|
}
|