From daaffe0a6cd56737dbcbb19afa3c0fe1df55d662 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Fri, 29 Sep 2017 20:14:52 +0200 Subject: [PATCH] bam: add recipe for version 0.5.1. * left disabled, as teeworls requires 0.4.0. --- dev-util/bam/bam-0.5.1.recipe | 41 +++++++++++++++++++++++++ dev-util/bam/patches/bam-0.5.1.patchset | 25 +++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 dev-util/bam/bam-0.5.1.recipe create mode 100644 dev-util/bam/patches/bam-0.5.1.patchset diff --git a/dev-util/bam/bam-0.5.1.recipe b/dev-util/bam/bam-0.5.1.recipe new file mode 100644 index 000000000..65792670b --- /dev/null +++ b/dev-util/bam/bam-0.5.1.recipe @@ -0,0 +1,41 @@ +SUMMARY="A fast and flexible build system" +DESCRIPTION="Bam uses Lua to describe the build process. It's takes its \ +inspiration for the script files from scons. While scons focuses on being \ +100% correct when building, bam makes a few sacrifices to acquire fast. \ +full and incremental build times." +HOMEPAGE="http://matricks.github.io/bam/" +COPYRIGHT="2009 Magnus Auvinen" +LICENSE="Zlib" +REVISION="1" +SOURCE_URI="http://github.com/matricks/bam/archive/v$portVersion.tar.gz" +CHECKSUM_SHA256="cc8596af3325ecb18ebd6ec2baee550e82cb7b2da19588f3f843b02e943a15a9" +PATCHES="bam-$portVersion.patchset" + +ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + bam = $portVersion + cmd:bam = $portVersion + " +REQUIRES=" + haiku + cmd:lua5.3 + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + cmd:gcc + " + +BUILD() +{ + sh make_beos.sh +} + +INSTALL() +{ + mkdir -p $binDir + cp bam $binDir +} diff --git a/dev-util/bam/patches/bam-0.5.1.patchset b/dev-util/bam/patches/bam-0.5.1.patchset new file mode 100644 index 000000000..75ae2e874 --- /dev/null +++ b/dev-util/bam/patches/bam-0.5.1.patchset @@ -0,0 +1,25 @@ +From 36b9e5030db8703c4956ba1de87759ee8f949954 Mon Sep 17 00:00:00 2001 +From: Jerome Duval +Date: Fri, 29 Sep 2017 19:29:30 +0200 +Subject: Haiku patch + + +diff --git a/src/support.c b/src/support.c +index 0c4aa3e..7adea9d 100644 +--- a/src/support.c ++++ b/src/support.c +@@ -283,7 +283,11 @@ + #include + #include + #include ++#ifdef BAM_FAMILY_BEOS ++ #include ++#else + #include ++#endif + #include + #include + #include +-- +2.13.1 +