17 lines
345 B
Bash
17 lines
345 B
Bash
|
|
fetch $M4_URL
|
|
|
|
cd "$SOURCES" && tar xf m4-$M4_VERSION.tar.xz && cd m4-$M4_VERSION
|
|
|
|
sed -r '/_GL_EXTERN_C/s/w?memchr|bsearch/(&)/' -i $(find -name \*.in.h)
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--host=$TARGET \
|
|
--build=$(build-aux/config.guess) \
|
|
--silent \
|
|
--quiet
|
|
|
|
make && make DESTDIR="$SYSROOT" install
|
|
|
|
cd "$SOURCES" && rm -rf m4-$M4_VERSION |