Files
haikuports/media-libs/agar/agar-1.5.0.recipe
waddlesplash 4f180bdb94 Utilize the new "all" ARCHITECTURES keyword in most recipes. (#6189)
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.
2021-09-15 15:40:18 -04:00

58 lines
1.5 KiB
Bash

SUMMARY="A modern open-source, cross-platform toolkit for graphical applications"
DESCRIPTION="Cross-platform GUI toolkit. Agar provides a base framework and \
a collection of GUI widgets from which GUI applications can be built. Agar \
can be styled and themed using a CSS-style engine."
HOMEPAGE="http://libagar.org/index.html.en"
COPYRIGHT="2002-2016 Hypertrition, Inc."
LICENSE="BSD (2-clause)"
REVISION="2"
SOURCE_URI="http://stable.hypertriton.com/agar/agar-$portVersion.tar.gz"
CHECKSUM_SHA256="82342ded342c578141984befe9318f3d376176e5f427ae3278f8985f26663c00"
ARCHITECTURES="!all"
SECONDARY_ARCHITECTURES="!x86_gcc2 !x86"
PROVIDES="
agar$secondaryArchSuffix = $portVersion
cmd:agar$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
lib:libGL$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:liblua$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
lib:libsndfile$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libfontconfig$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
devel:libGL$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libsdl$secondaryArchSuffix
devel:libsndfile$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:libtool$secondaryArchSuffix
cmd:make
cmd:perl
"
BUILD()
{
./configure --prefix=$prefix
make depend all $jobArgs
}
INSTALL()
{
make install
}