0
0
Fork 0
haikuports/app-arch/ancient/ancient-1.0.recipe

51 lines
1.2 KiB
Bash

SUMMARY="Modern decompressor for old data compression formats"
DESCRIPTION="This is a collection of decompression routines for old formats \
popular in the Amiga, Atari computers and some other systems from 80's \
and 90's as well as some that are currently used which were used in a some \
specific way in these old systems."
HOMEPAGE="https://github.com/temisu/ancient"
COPYRIGHT="2017-2020 Teemu Suutari"
LICENSE="BSD (2-clause)"
REVISION="1"
SOURCE_URI="https://github.com/temisu/ancient/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="5bb3aa98f9a0936fe7e6bb2eb16b0a84c4b5c6a64434eb51c3d8e6d21589421c"
SOURCE_DIR="ancient-$portVersion"
ARCHITECTURES="?all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
commandSuffix=$secondaryArchSuffix
commandBinDir=$binDir
if [ "$targetArchitecture" = x86_gcc2 ]; then
commandSuffix=
commandBinDir=$prefix/bin
fi
PROVIDES="
ancient$secondaryArchSuffix = $portVersion
cmd:ancient$commandSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
"
BUILD()
{
make $jobArgs
}
INSTALL()
{
mkdir -p $commandBinDir
cp -a ancient$commandSuffix $commandBinDir
}