Files
haikuports/games-arcade/frozen_bubble/frozen_bubble-2.212.recipe
2023-09-15 11:18:49 +00:00

78 lines
2.5 KiB
Bash

SUMMARY="Puzzle with Bubbles"
DESCRIPTION="The Frozen-Bubble game is a free software implementation of a popular arcade/reflex \
game. The game mainly consists of firing randomly chosen bubbles across the board. If the shoot \
ends up having a clump of at least 3 bubbles of the same color, they all pop. If some bubbles \
were sticked only on the popping clump, they fall. In 1-player mode, the goal is to pop all the \
bubbles on the board as quickly as possible. In 2-players or network mode, you have to get your \
opponent to 'die' before you."
HOMEPAGE="https://metacpan.org/dist/Games-FrozenBubble/view/bin/frozen-bubble"
COPYRIGHT="2000-2010 The Frozen-Bubble Team"
LICENSE="GNU GPL v2"
REVISION="3"
SOURCE_URI="https://cpan.metacpan.org/authors/id/K/KT/KTHAKORE/Games-FrozenBubble-$portVersion.tar.gz"
CHECKSUM_SHA256="721e04ff69c5233060656bfbf4002aa1aeadd96c95351f0c57bb85b6da35a305"
SOURCE_DIR="Games-FrozenBubble-$portVersion"
PATCHES="frozen-bubble-$portVersion.patch
frozen_bubble-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="?x86"
PROVIDES="
frozen_bubble$secondaryArchSuffix = $portVersion
cmd:fb_server
cmd:frozen_bubble
cmd:frozen_bubble_editor
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libglib_2.0$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libSDL_1.2$secondaryArchSuffix
lib:libSDL_mixer_1.2$secondaryArchSuffix
lib:libSDL_Pango$secondaryArchSuffix
compress_bzip2$secondaryArchSuffix
file_which$secondaryArchSuffix
sdl_perl$secondaryArchSuffix
vendor_perl$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libglib_2.0$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libintl$secondaryArchSuffix
devel:libSDL_1.2$secondaryArchSuffix
devel:libSDL_mixer_1.2$secondaryArchSuffix
devel:libSDL_Pango$secondaryArchSuffix
capture_tiny$secondaryArchSuffix
class_inspector$secondaryArchSuffix
compress_bzip2$secondaryArchSuffix
file_sharedir$secondaryArchSuffix
file_slurp$secondaryArchSuffix
file_which$secondaryArchSuffix
ipc_system_simple$secondaryArchSuffix
locale_maketext_extract$secondaryArchSuffix
module_build$secondaryArchSuffix
sdl_perl$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:perl$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
export LDFLAGS="-lnetwork"
perl Build.PL --installdirs vendor --prefix $prefix
./Build
}
INSTALL()
{
./Build install --installdirs vendor
addAppDeskbarSymlink $prefix/bin/frozen-bubble FrozenBubble
}