repo/core/flex/build
2019-08-11 18:03:12 +00:00

19 lines
315 B
Bash
Executable File

#!/bin/sh -e
./configure \
--prefix=/usr \
--disable-static \
--enable-shared \
--disable-nls \
ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes
make
make DESTDIR="$1" install
# Remove all info files.
rm -rf "$1/usr/share/info"
# Remove docs.
rm -rf "$1/usr/share/doc"