lfs-scripts/scripts/chapter8/8.36-gdbm.sh

29 lines
295 B
Bash
Raw Normal View History

2023-01-12 05:37:34 +00:00
#!/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