repo/bzip2/Makefile

15 lines
373 B
Makefile
Raw Normal View History

2021-06-30 00:32:00 +03:00
prepare:
git clone https://www.sourceware.org/pub/bzip2/bzip2-latest.tar.gz bzip2
cd bzip2
$(MAKE):
$(MAKE) -f Makefile-libbz2_so
$(MAKE) clean
$(MAKE)
2021-06-30 00:32:00 +03:00
install:
$(MAKE) PREFIX=${PREFIX}/tools install
2021-06-30 00:32:00 +03:00
cp -v bzip2-shared ${PREFIX}/tools/bin/bzip2
cp -av libbz2.so* ${PREFIX}/tools/lib
ln -sv libbz2.so.1.0 ${PREFIX}/tools/lib/libbz2.so
uninstall:
$(MAKE) uninstall