mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
63 lines
1.3 KiB
Bash
63 lines
1.3 KiB
Bash
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."
|
|
HOMEPAGE="http://ncompress.sourceforge.net/"
|
|
COPYRIGHT="Mike Frysinger
|
|
Spencer W. Thomas
|
|
Jim McKie
|
|
Steve Davies
|
|
Ken Turkowski
|
|
James A. Woods
|
|
Joe Orost
|
|
Dave Mack
|
|
Peter Jannesen"
|
|
LICENSE="Public Domain"
|
|
REVISION="1"
|
|
SOURCE_URI="http://sourceforge.net/projects/ncompress/files/ncompress-4.2.4.4.tar.gz"
|
|
CHECKSUM_SHA256="b00ba28d3f332b38aa75478a15c1b789957aa6c02d6453471f452c0ec3e6517a"
|
|
PATCHES="ncompress-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
ncompress = $portVersion
|
|
cmd:compress
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:awk
|
|
cmd:cpio
|
|
cmd:find
|
|
cmd:gcc
|
|
cmd:sh
|
|
"
|
|
TEST_REQUIRES="
|
|
cmd:cmp
|
|
cmd:find
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
echo -e "1\n$binDir\n$manDir\n7\n-DNOFUNCDEF=1\nc\n\nq"|sh build
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $binDir $manDir
|
|
echo -e "1\n$binDir\n$manDir\n7\n-DNOFUNCDEF=1\ni\n\n\nq"|sh build
|
|
rm $binDir/z* $binDir/uncompress $manDir/z*
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
echo -e "1\n$binDir\n$manDir\n7\n-DNOFUNCDEF=1\nt\n\n\nq"|sh build
|
|
}
|