0
0
Fork 0
haikuports/dev-lang/xamos/xamos-0.29.recipe

77 lines
1.5 KiB
Bash

SUMMARY="Cross-platform AMOS BASIC reimplementation"
DESCRIPTION="This project is a complete re-write of jAMOS in C++ using SDL \
libraries and (optional) Boost headers.
This initial release is run-only and does not feature an editor at this \
stage. However, it is compatible with almost all programs created with the \
latest jAMOS editor. All jAMOS examples (without AMAL) are running in XAMOS, \
often with a serious speed boost over the Java original, particularly on \
low-end platforms."
HOMEPAGE="https://sourceforge.net/projects/xamos"
COPYRIGHT="2012 Mequa Innovations"
LICENSE="BSD (2-clause)"
REVISION="3"
SOURCE_URI="http://sourceforge.net/projects/xamos/files/XAMOS_src.zip"
CHECKSUM_SHA256="f559794ed7a443f00a21b3c0050e8ee70a9d1340ad41e46a5f87f5238bc7479e"
SOURCE_DIR="XAMOS"
PATCHES="xamos-$portVersion.patchset"
ARCHITECTURES="x86_gcc2"
PROVIDES="
xamos = $portVersion
cmd:XAMOS
"
REQUIRES="
haiku
lib:libfreetype
lib:libGL
lib:libGLU
lib:libjpeg
lib:libogg
lib:libpng16
lib:libSDL_1.2
lib:libSDL_gfx
lib:libSDL_image_1.2
lib:libSDL_mixer_1.2
lib:libSDL_ttf_2.0
lib:libvorbis
lib:libvorbisfile
lib:libz
"
BUILD_REQUIRES="
haiku_devel
devel:libfreetype
devel:libGL
devel:libGLU
devel:libjpeg
devel:libogg
devel:libpng
devel:libSDL
devel:libSDL_gfx
devel:libSDL_image
devel:libSDL_mixer
devel:libSDL_ttf
devel:libvorbis
devel:libvorbisfile
devel:libz
"
BUILD_PREREQUIRES="
cmd:g++
cmd:make
"
BUILD()
{
cd src
make -f Makefile_haiku
}
INSTALL()
{
cd src
make -f Makefile_haiku install PREFIX=$prefix
}