minecraft-pi-docker/build/build-libpng12.sh
2020-12-04 16:27:28 -05:00

17 lines
207 B
Bash
Executable File

#!/bin/sh
set -e
git clone --depth 1 https://git.code.sf.net/p/libpng/code libpng -b libpng12
cd libpng
./configure --prefix /usr
make -j$(nproc)
make install DESTDIR=/app/export
cd ../
rm -rf libpng