ports: Add libpng port

This commit is contained in:
2025-06-11 10:42:44 +03:00
parent a0a9d49d81
commit aa691f236e
3 changed files with 57 additions and 0 deletions

14
ports/libpng/build.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash ../install.sh
NAME='libpng'
VERSION='1.6.48'
DOWNLOAD_URL="https://download.sourceforge.net/libpng/libpng-$VERSION.tar.gz#68f3d83a79d81dfcb0a439d62b411aa257bb4973d7c67cd1ff8bdf8d011538cd"
DEPENDENCIES=('zlib')
install() {
make install DESTDIR="$BANAN_SYSROOT" || exit 1
# remove libtool files
rm -f $BANAN_SYSROOT/usr/lib/libpng.la
rm -f $BANAN_SYSROOT/usr/lib/libpng16.la
}