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.
51 lines
1.2 KiB
Bash
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
|
|
}
|