2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-20 05:30:11 -07:00
repo/core/flex/build
2023-03-05 17:34:06 -06:00

15 lines
238 B
Bash
Executable File

#!/bin/sh -e
./configure \
--prefix=/usr \
ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes
make
make DESTDIR="$1" install
ln -s flex "$1/usr/bin/lex"
# Remove READMEs and such.
rm -rf "$1/usr/share/doc"