minecraft-pi-docker/build/build-libpng12.sh

17 lines
207 B
Bash
Raw Normal View History

2020-09-25 16:43:53 +00:00
#!/bin/sh
set -e
git clone --depth 1 https://git.code.sf.net/p/libpng/code libpng -b libpng12
cd libpng
2020-11-26 02:17:40 +00:00
./configure --prefix /usr
2020-09-25 16:43:53 +00:00
make -j$(nproc)
2020-12-04 21:27:28 +00:00
make install DESTDIR=/app/export
2020-09-25 16:43:53 +00:00
cd ../
2020-11-26 02:17:40 +00:00
2020-09-25 16:43:53 +00:00
rm -rf libpng