Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERFA lib support request #3047

Open
trufanov-nok opened this issue Feb 21, 2024 · 1 comment
Open

ERFA lib support request #3047

trufanov-nok opened this issue Feb 21, 2024 · 1 comment

Comments

@trufanov-nok
Copy link

Would be great to have a script for building ERFA library

@trufanov-nok
Copy link
Author

It seems I'm able to fit erfa into mxe with following erfa.mk:

# This file is part of MXE. See LICENSE.md for licensing information.

PKG             := erfa
$(PKG)_WEBSITE  := https://github.com/liberfa/erfa
$(PKG)_DESCR    := Essential Routines for Fundamental Astronomy
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 2.0.1
$(PKG)_SUBDIR   := erfa-$($(PKG)_VERSION)
$(PKG)_FILE     := erfa-$($(PKG)_VERSION).tar.xz
$(PKG)_URL      := https://github.com/liberfa/erfa/releases/download/v$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_CHECKSUM := 45111f0addf6ef69345aaf093bd054705b41ac2db7541dd3f0e105362c8e20e4
$(PKG)_DEPS     := cc meson-wrapper

define $(PKG)_BUILD
    '$(MXE_MESON_WRAPPER)' $(MXE_MESON_OPTS) \
        '$(BUILD_DIR)' '$(SOURCE_DIR)'
    '$(MXE_NINJA)' -C '$(BUILD_DIR)' -j '$(JOBS)'
    '$(MXE_NINJA)' -C '$(BUILD_DIR)' -j '$(JOBS)' install
endef

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant