repo/pthread/build
2021-07-12 22:34:41 +02:00

11 lines
398 B
Text

wget https://ftp.gnu.org/gnu/pth/pth-2.0.7.tar.gz
tar -xf pth-2.0.7.tar.gz
cd pth-2.0.7.tar.gz
sed -i 's#$(LOBJS): Makefile#$(LOBJS): pth_p.h Makefile#' Makefile.in
./configure --prefix=/usr --disable-static --mandir=/usr/share/man
make
make install &&
install -v -m755 -d /usr/share/doc/pth-2.0.7 &&
install -v -m644 README PORTING SUPPORT TESTS \
/usr/share/doc/pth-2.0.7