mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
bam: add recipe for version 0.5.1.
* left disabled, as teeworls requires 0.4.0.
This commit is contained in:
41
dev-util/bam/bam-0.5.1.recipe
Normal file
41
dev-util/bam/bam-0.5.1.recipe
Normal file
@@ -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
|
||||
}
|
||||
25
dev-util/bam/patches/bam-0.5.1.patchset
Normal file
25
dev-util/bam/patches/bam-0.5.1.patchset
Normal file
@@ -0,0 +1,25 @@
|
||||
From 36b9e5030db8703c4956ba1de87759ee8f949954 Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
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 <dlfcn.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
+#ifdef BAM_FAMILY_BEOS
|
||||
+ #include <signal.h>
|
||||
+#else
|
||||
#include <sys/signal.h>
|
||||
+#endif
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <utime.h>
|
||||
--
|
||||
2.13.1
|
||||
|
||||
Reference in New Issue
Block a user