33 lines
726 B
Text
33 lines
726 B
Text
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=libjpeg-turbo
|
|
version=2.1.5.1
|
|
build=1sml
|
|
homepage="https://github.com/libjpeg-turbo/libjpeg-turbo"
|
|
desc="JPEG library on steroids"
|
|
requires="nasm"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
}
|
|
|
|
build() {
|
|
mkdir -p smbuild && cd smbuild
|
|
cmake .. \
|
|
-DCMAKE_INSTALL_PREFIX="/usr" \
|
|
-DCMAKE_INSTALL_LIBDIR="/usr/lib" \
|
|
-DENABLE_STATIC=OFF
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
86a7248d064043b26b09755633ef4872a2a6133c9e677a9fe4be6645b2e0fde102cf01e09119967b3b6b85f4cb93f3f7c49ec4973944d5eff99b5b90ce8b0be6 libjpeg-turbo-2.1.5.1.tar.gz
|
|
"
|