mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
dash: bump to 0.5.10, add patch from Gentoo, add debuginfo. (#2545)
This commit is contained in:
@@ -9,8 +9,13 @@ COPYRIGHT="1989-1994 The Regents of the University of California
|
||||
1997-2005 Herbert Xu"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://git.kernel.org/pub/scm/utils/dash/dash.git/snapshot/dash-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="3f747013a20a3a9d2932be1a6dd1b002ca5649849b649be0af8a8da80bd8a918"
|
||||
SOURCE_URI="http://gondor.apana.org.au/~herbert/dash/files/dash-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="ad70e0cc3116b424931c392912b3ebdb8053b21f3fd968c782f0b19fd8ae31ab"
|
||||
|
||||
SOURCE_FILENAME_2="dash-$portVersion-dumb-echo.patch"
|
||||
srcGitRev_2="da222eb668e9d0743688b0bd1608fd0824b1b8b1"
|
||||
SOURCE_URI_2="https://gitweb.gentoo.org/repo/gentoo.git/plain/app-shells/dash/files/$SOURCE_FILENAME_2?id=$srcGitRev_2#noarchive"
|
||||
CHECKSUM_SHA256_2="c55b86a1f827d9fff5892ffd750b632b135fef938f5fedc770dcf26c20c596ce"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -45,9 +50,16 @@ BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
"
|
||||
|
||||
defineDebugInfoPackage dash$secondaryArchSuffix \
|
||||
"$commandBinDir"/dash
|
||||
|
||||
PATCH()
|
||||
{
|
||||
patch -p1 -i "$sourceDir2"/$SOURCE_FILENAME_2
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
./autogen.sh
|
||||
runConfigure --omit-dirs binDir ./configure --bindir="$commandBinDir"
|
||||
make $jobArgs LIBS="-lbsd"
|
||||
}
|
||||
Reference in New Issue
Block a user