mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-22 03:52:52 +00:00
28 lines
295 B
Bash
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
|