Files
haikuports/app-arch/ncompress/ncompress-4.2.4.4.recipe
Adrien Destugues 2f69ff1c01 Add recipe for ncompress.
This is an updated version of what we currently have in haiku tree for
compress. It was renamed to ncompress to avoid confusion with the BSD
implementation.
2014-10-14 14:43:55 +02:00

54 lines
1.1 KiB
Plaintext

SUMMARY="A fast, simple LZW file compressor."
DESCRIPTION="Compress is a fast, simple LZW file compressor. Compress does not \
have the highest compression rate, but it is one of the fastest programs to \
compress data. Compress is the defacto standard in the UNIX community for \
compressing files."
LICENSE="Public Domain"
COPYRIGHT="Mike Frysinger
Spencer W. Thomas
Jim McKie
Steve Davies
Ken Turkowski
James A. Woods
Joe Orost
Dave Mack
Peter Jannesen"
HOMEPAGE="http://ncompress.sourceforge.net/"
ARCHITECTURES="x86_gcc2"
REVISION="1"
SRC_URI="http://sourceforge.net/projects/ncompress/files/ncompress-4.2.4.4.tar.gz"
CHECKSUM_SHA256="b00ba28d3f332b38aa75478a15c1b789957aa6c02d6453471f452c0ec3e6517a"
PATCHES="ncompress-$portVersion.patchset"
PROVIDES="
ncompress = $portVersion
cmd:compress
cmd:zcat
cmd:zmore
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:awk
cmd:cpio
cmd:find
cmd:gcc
cmd:sh
"
BUILD()
{
echo -e "1\n$binDir\n$manDir\n7\n-DNOFUNCDEF=1\nc\n\nq"|sh build
}
INSTALL()
{
echo -e "1\n$binDir\n$manDir\n7\n-DNOFUNCDEF=1\ni\n\n\nq"|sh build
}
TEST()
{
echo -e "1\n$binDir\n$manDir\n7\n-DNOFUNCDEF=1\nt\n\n\nq"|sh build
}