On 25/01/2024 19:52, Ihor via Cygwin-apps wrote:
Hi Jon! Thank you for the reply!

I see... Okay, I'm attaching the file here and going to send additional Email 
with an public SSH key.

Best regards,
Ihor


Hi Ihor,

bottom post on the cygwin mail lists

I adjusted the file to build also the debugging portion
and to NOT build in the source tree.

Also adjusted the REQUIRES (not DEPENDS) for the build.

please double check
Regards
Marco

NAME="pigz"
VERSION=2.8
RELEASE=1

CATEGORY="Archive"
SUMMARY="Parallel Implementation of GZip"
DESCRIPTION="pigz, which stands for Parallel Implementation
of GZip, is a fully functional replacement for gzip that
takes advantage of multiple processors and multiple cores
when compressing data."
HOMEPAGE="https://zlib.net/pigz/";
LICENSE="zlib"
# REQUIRES="zlib"

SRC_URI="https://zlib.net/pigz/${NAME}-${VERSION}.tar.gz";
BUILD_REQUIRES="zlib-devel ncompress gzip"

src_compile() {
        cd ${S}
        lndirs
        cd ${B}
        echo ${CFLAGS}
    cygmake CFLAGS="${CFLAGS}"
}

src_test() {
        cd ${B}
    cygmake test
}

src_install() {
        cd ${B}
    exeinto /bin

    doexe pigz.exe
    doexe unpigz.exe

    doman pigz.1
}

Reply via email to