minecraft-pi-docker/scripts/build-libpng12.sh
2020-09-25 12:43:53 -04:00

16 lines
233 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 --host arm-linux-gnueabihf --prefix /usr/arm-linux-gnueabihf
make -j$(nproc)
make install
cd ../
rm -rf libpng