1
0
Fork 0
frozenports/devel/m4/SCHEMATIC

29 lines
924 B
Bash

#!/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")
build_dependencies=("devel/gmake" "devel/gcc")
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
}