ffmpeg-6: fix COMPONENT_REVISION
[oi-userland.git] / components / developer / samurai / Makefile
blob373f7c292477bc48317a41e0b1ab48f2b970b5ac
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2022 Vincent Torri
14 BUILD_BITS=64
15 BUILD_STYLE=justmake
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= samurai
20 COMPONENT_VERSION= 1.2
21 COMPONENT_SUMMARY= samurai is a ninja-compatible build tool written in C99
22 COMPONENT_PROJECT_URL= https://git.sr.ht/~mcf/samurai
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
25 COMPONENT_ARCHIVE_URL= https://git.sr.ht/~mcf/samurai/archive/$(COMPONENT_VERSION).tar.gz
26 COMPONENT_ARCHIVE_HASH= sha256:37a2d9f35f338c53387eba210bab7e5d8abe033492664984704ad84f91b71bac
27 COMPONENT_FMRI= developer/build/samurai
28 COMPONENT_CLASSIFICATION= Development/Distribution Tools
29 COMPONENT_LICENSE= Apache 2.0
31 include $(WS_MAKE_RULES)/common.mk
33 COMPONENT_BUILD_ENV += CC=$(CC)
34 COMPONENT_BUILD_ARGS += CC=$(CC)
35 COMPONENT_INSTALL_ARGS += PREFIX=/usr DESTDIR=$(PROTO_DIR)
36 # Auto-generated dependencies
37 REQUIRED_PACKAGES += system/library