2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 07:10:16 -07:00
repo/core/flex/build

15 lines
238 B
Plaintext
Raw Normal View History

2019-05-18 10:06:11 -06:00
#!/bin/sh -e
./configure \
--prefix=/usr \
ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes
make
2023-03-02 07:40:00 -07:00
make DESTDIR="$1" install
2020-05-29 04:45:19 -06:00
ln -s flex "$1/usr/bin/lex"
2021-07-06 05:25:18 -06:00
# Remove READMEs and such.
rm -rf "$1/usr/share/doc"