1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-22 06:56:19 +00:00
Lakka-LibreELEC/packages/addons/addon-depends/pngquant/package.mk

28 lines
661 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="pngquant"
PKG_VERSION="2.18.0"
PKG_SHA256="e72194b52b36f040deaec49a1ddd5dcd8d4feecc3a5fe6c5e9589a9707b233d4"
PKG_LICENSE="GPLv3"
PKG_SITE="https://pngquant.org"
PKG_URL="https://pngquant.org/pngquant-${PKG_VERSION}-src.tar.gz"
PKG_DEPENDS_HOST="toolchain:host libpng:host zlib:host"
PKG_LONGDESC="A lossy PNG compressor."
configure_host() {
:
}
make_host() {
cd ${PKG_BUILD}
BIN=${PKG_BUILD}/pngquant make
${STRIP} ${PKG_BUILD}/pngquant
}
makeinstall_host() {
mkdir -p ${TOOLCHAIN}/bin
cp ${PKG_BUILD}/pngquant ${TOOLCHAIN}/bin
}