repo/extra/gmake/build
nitori 0d808d953c
gmake: new at 4.4.1
split from patch provided by emma
2024-01-02 17:43:36 +00:00

14 lines
269 B
Bash
Executable File

#!/bin/sh -e
export LDFLAGS="$LDFLAGS -static"
./configure \
--prefix=/usr \
--disable-nls
make
make DESTDIR="$1" install
mv "$1/usr/bin/make" "$1/usr/bin/gmake"
mv "$1/usr/share/man/man1/make.1" "$1/usr/share/man/man1/gmake.1"
ln -s gmake "$1/usr/bin/make"