mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
dash: add a recipe for version 0.5.7
* still broken, loops in wait3().
This commit is contained in:
47
app-shells/dash/dash-0.5.7.recipe
Normal file
47
app-shells/dash/dash-0.5.7.recipe
Normal file
@@ -0,0 +1,47 @@
|
||||
SUMMARY="POSIX-compliant implementation of /bin/sh."
|
||||
DESCRIPTION="
|
||||
Dash is a POSIX-compliant implementation of /bin/sh that aims to be as small \
|
||||
as possible. It does this without sacrificing speed where possible. In fact, \
|
||||
it is significantly faster than bash (the GNU Bourne-Again Shell) for most tasks.
|
||||
"
|
||||
HOMEPAGE="http://gondor.apana.org/~herbert/dash/"
|
||||
SRC_URI="http://gondor.apana.org/~herbert/dash/files/dash-0.5.7.tar.gz"
|
||||
CHECKSUM_SIZE="223794"
|
||||
CHECKSUM_RMD160="1878942f8ab5723ccfb2eded34169606b4cec475"
|
||||
CHECKSUM_SHA512="77ad016fa5fb3fcb0d940b29d3fa914f546d79cdf2221ed47e4dec6d3a005b25d2d32ee1fdd4f662a7a84274572b72235b82e4c39995c7ca0bb049a7d88595b5"
|
||||
REVISION="1"
|
||||
LICENSE="GNU GPL v3"
|
||||
COPYRIGHT="Copyright (c) 1989-1994 The Regents of the University of California. 1997 Christos Zoulas. 1997-2005 Herbert Xu."
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 ?x86 !x86_64"
|
||||
|
||||
PATCHES="dash-0.5.7.patchset"
|
||||
|
||||
PROVIDES="
|
||||
dash = $portVersion
|
||||
cmd:dash = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
lib:libreadline
|
||||
lib:libncursesw
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:gcc
|
||||
cmd:awk
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
make $jobArgs LIBS=-lbsd
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
21
app-shells/dash/patches/dash-0.5.7.patchset
Normal file
21
app-shells/dash/patches/dash-0.5.7.patchset
Normal file
@@ -0,0 +1,21 @@
|
||||
From bf0f50131da4ab31343b239a7e4360ffeb82779a Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Sat, 19 Apr 2014 20:07:51 +0000
|
||||
Subject: string.h needs __USE_GNU
|
||||
|
||||
|
||||
diff --git a/src/mystring.h b/src/mystring.h
|
||||
index 083ea98..0381f6c 100644
|
||||
--- a/src/mystring.h
|
||||
+++ b/src/mystring.h
|
||||
@@ -35,6 +35,7 @@
|
||||
*/
|
||||
|
||||
#include <inttypes.h>
|
||||
+#define __USE_GNU
|
||||
#include <string.h>
|
||||
|
||||
extern const char snlfmt[];
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user