ports: Add libjpeg port

This commit is contained in:
2025-06-11 11:06:32 +03:00
parent aa691f236e
commit ac745bfa3d
3 changed files with 46 additions and 0 deletions

13
ports/libjpeg/build.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash ../install.sh
NAME='libjpeg'
VERSION='9f'
DOWNLOAD_URL="https://www.ijg.org/files/jpegsrc.v9f.tar.gz#04705c110cb2469caa79fb71fba3d7bf834914706e9641a4589485c1f832565b"
TAR_CONTENT="jpeg-$VERSION"
install() {
make install DESTDIR="$BANAN_SYSROOT" || exit 1
# remove libtool files
rm -f $BANAN_SYSROOT/usr/lib/libjpeg.la
}