Update package version to 0.5.13.1
This commit is contained in:
@@ -1,9 +1,20 @@
|
||||
name: dash
|
||||
description: POSIX-compliant implementation of /bin/sh that aims to be as small as possible
|
||||
version: 0.5.13
|
||||
version: 0.5.13.1
|
||||
revision: 1
|
||||
url: http://gondor.apana.org.au/~herbert/dash/
|
||||
license: BSD-3-Clause
|
||||
maintainers:
|
||||
- [email protected]
|
||||
architecture: any
|
||||
depends: ["glibc","libedit"]
|
||||
provides: ["sh"]
|
||||
type: source
|
||||
depends:
|
||||
- glibc
|
||||
- libedit
|
||||
provides:
|
||||
- sh
|
||||
downloads:
|
||||
- url: https://git.kernel.org/pub/scm/utils/dash/dash.git/snapshot/dash-${BPM_PKG_VERSION}.tar.gz
|
||||
extract_to: ${BPM_SOURCE}
|
||||
extract_strip_components: 1
|
||||
checksum: 62a551ed06c31ad09933be0a20478832640d5cc3ce430d0fc7c52a1097129df1
|
||||
|
||||
@@ -2,20 +2,16 @@
|
||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||
|
||||
DOWNLOAD="https://git.kernel.org/pub/scm/utils/dash/dash.git/snapshot/dash-${BPM_PKG_VERSION}.tar.gz"
|
||||
FILENAME="${DOWNLOAD##*/}"
|
||||
|
||||
# The prepare function is executed in the root of the temp directory
|
||||
# This function is used for downloading files and putting them into the correct location
|
||||
# This function is used for putting downloaded files to the correct location or applying patches
|
||||
prepare() {
|
||||
wget "$DOWNLOAD"
|
||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
||||
cd "$BPM_SOURCE"
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
autoreconf -fiv
|
||||
./configure --prefix=/usr --exec-prefix="" --with-libedit
|
||||
make V=1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user