mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Add recipe for ancient, a multi-format decompressor
This commit is contained in:
50
app-arch/ancient/ancient-1.0.recipe
Normal file
50
app-arch/ancient/ancient-1.0.recipe
Normal file
@@ -0,0 +1,50 @@
|
||||
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="!x86_gcc2 ?x86 ?x86_64"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user