forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added libspatialindex package * Update gh actions to build new package
- Loading branch information
1 parent
58bfb17
commit 06e243d
Showing
3 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
package: | ||
name: libspatialindex | ||
version: 1.9.3 | ||
epoch: 1 | ||
description: extensible framework for robust spatial indexing methods | ||
copyright: | ||
- license: MIT | ||
|
||
environment: | ||
contents: | ||
keyring: | ||
- https://packages.wolfi.dev/os/wolfi-signing.rsa.pub | ||
repositories: | ||
- https://packages.wolfi.dev/os | ||
packages: | ||
- autoconf | ||
- automake | ||
- build-base | ||
- busybox | ||
- ca-certificates-bundle | ||
- cmake | ||
- gcc | ||
|
||
pipeline: | ||
- uses: fetch | ||
with: | ||
expected-sha256: 47d8779e32477b330e46b62fb7e62cb812caee5d8e684c35cb635a42a749f3fc | ||
uri: https://github.com/libspatialindex/libspatialindex/releases/download/${{package.version}}/spatialindex-src-${{package.version}}.tar.gz | ||
|
||
- runs: | | ||
cmake -B build \ | ||
-DCMAKE_BUILD_TYPE=MinSizeRel \ | ||
-DCMAKE_PREFIX_PATH=/usr \ | ||
-DCMAKE_INSTALL_PREFIX=/usr \ | ||
-DBUILD_TESTING=ON | ||
- runs: | | ||
cmake --build build | ||
- runs: | | ||
DESTDIR="${{targets.destdir}}" cmake --install build | ||
- uses: strip | ||
|
||
subpackages: | ||
- name: libspatialindex-dev | ||
pipeline: | ||
- uses: split/dev | ||
dependencies: | ||
runtime: | ||
- libspatialindex | ||
description: libspatialindex dev |