mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
New recipe: Peggy (#6502)
This commit is contained in:
43
haiku-games/peggy/peggy-0.5.2.recipe
Normal file
43
haiku-games/peggy/peggy-0.5.2.recipe
Normal file
@@ -0,0 +1,43 @@
|
||||
SUMMARY="A board game inspired by Mastermind(tm)"
|
||||
DESCRIPTION="In this game you have to crack a color code in 9 attempts \
|
||||
by getting feedback about the correctness of the color pegs and their positions."
|
||||
HOMEPAGE="https://github.com/andimachovec/Peggy"
|
||||
COPYRIGHT="2021 Andi Machovec"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/andimachovec/Peggy/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="edbaa164c14c2ce6a3aaf2efcf8696fd7d1ea2e7f97e170d8562b4a1c50908e6"
|
||||
SOURCE_DIR="Peggy-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
peggy$secondaryArchSuffix = $portVersion
|
||||
app:Peggy = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make $jobArgs OBJ_DIR=objects
|
||||
make bindcatalogs OBJ_DIR=objects
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
cp -af objects/Peggy $appsDir
|
||||
addAppDeskbarSymlink $appsDir/Peggy
|
||||
}
|
||||
Reference in New Issue
Block a user