Update package version to 8.2.12
This commit is contained in:
@@ -1,9 +1,11 @@
|
|||||||
name: gc
|
name: gc
|
||||||
description: A garbage collector for C and C++
|
description: A garbage collector for C and C++
|
||||||
version: 8.2.10
|
version: 8.2.12
|
||||||
revision: 1
|
revision: 1
|
||||||
url: https://www.hboehm.info/gc/
|
url: https://www.hboehm.info/gc/
|
||||||
license: MIT
|
license: MIT
|
||||||
|
maintainers:
|
||||||
|
- [email protected]
|
||||||
architecture: any
|
architecture: any
|
||||||
type: source
|
type: source
|
||||||
depends:
|
depends:
|
||||||
@@ -12,4 +14,4 @@ downloads:
|
|||||||
- url: https://github.com/ivmai/bdwgc/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
|
- url: https://github.com/ivmai/bdwgc/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
|
||||||
extract_to: ${BPM_SOURCE}
|
extract_to: ${BPM_SOURCE}
|
||||||
extract_strip_components: 1
|
extract_strip_components: 1
|
||||||
checksum: 5858a417ab3eaac2add0daf79cd29ddf248c9f648e6c08092b775dcbfcbe1edb
|
checksum: d09001f45dabf1c29a5df3e63020a4bab5ad4aad69137bb07100c717e2ecba0b
|
||||||
|
|||||||
@@ -2,10 +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 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
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
|
# The prepare function is executed in the root of the temp directory
|
||||||
|
# This function is used for putting downloaded files to the correct location or applying patches
|
||||||
|
prepare() {
|
||||||
|
cd "$BPM_SOURCE"
|
||||||
|
./autogen.sh
|
||||||
|
}
|
||||||
|
|
||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
./autogen.sh
|
|
||||||
./configure --prefix=/usr --enable-cplusplus --disable-static
|
./configure --prefix=/usr --enable-cplusplus --disable-static
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
@@ -21,6 +27,7 @@ check() {
|
|||||||
package() {
|
package() {
|
||||||
make DESTDIR="$BPM_OUTPUT" install
|
make DESTDIR="$BPM_OUTPUT" install
|
||||||
|
|
||||||
|
# Install package license
|
||||||
cat README.md | awk '/## Copyright & Warranty/,0' > LICENSE.md
|
cat README.md | awk '/## Copyright & Warranty/,0' > LICENSE.md
|
||||||
install -Dm644 "$BPM_SOURCE"/LICENSE.md "$BPM_OUTPUT"/usr/share/licenses/gc/LICENSE.md
|
install -Dm644 "$BPM_SOURCE"/LICENSE.md "$BPM_OUTPUT"/usr/share/licenses/gc/LICENSE.md
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user