lfs-scripts/scripts/chapter8/8.36-gdbm.sh
2023-01-12 11:07:34 +05:30

28 lines
295 B
Bash

#!/bin/bash
cd /sources
tar xf gdbm-1.23.tar.gz
cd gdbm-1.23
./configure --prefix=/usr \
--disable-static \
--enable-libgdbm-compat
if [ $? -ne 0 ]
then
exit 1
fi
make -j5
if [ $? -ne 0 ]
then
exit 1
fi
make check
make install
cd /sources
rm -rf gdbm-1.23