distribution/packages/compress/unzip/package.mk

24 lines
793 B
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
PKG_NAME="unzip"
PKG_VERSION="60"
PKG_SHA256="036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37"
PKG_LICENSE="OSS"
PKG_SITE="http://www.info-zip.org/pub/infozip/"
2023-09-30 23:15:36 +00:00
PKG_URL="https://sourceforge.net/projects/infozip/files/UnZip%206.x%20(latest)/UnZip%206.0/unzip60.tar.gz"
2022-02-05 14:23:32 +00:00
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="UnZip is an extraction utility for archives compressed in .zip format."
PKG_TOOLCHAIN="manual"
make_target() {
2023-02-27 02:56:16 +00:00
make CC=${CC} RANLIB=$RANLIB AR=${AR} STRIP=${STRIP} \
2023-02-24 13:53:43 +00:00
-f unix/Makefile generic LOCAL_UNZIP="${CFLAGS}"
2022-02-05 14:23:32 +00:00
}
makeinstall_target() {
2023-02-24 13:53:43 +00:00
mkdir -p ${INSTALL}/usr/bin
cp unzip ${INSTALL}/usr/bin
${STRIP} ${INSTALL}/usr/bin/unzip
2022-02-05 14:23:32 +00:00
}