gcc-6: use $(GNU_ARCH) in manifest
[unleashed-userland.git] / components / games / openttd / openmsx / Makefile
blobc0ec49b69fca7e6fac31ed888b0e373a4f1519d9
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 2016 Jim Klimov <jimklimov@gmail.com>
15 include ../../../../make-rules/shared-macros.mk
17 COMPONENT_NAME= openmsx
18 COMPONENT_VERSION= 0.3.1
19 COMPONENT_PROJECT_URL= http://dev.openttdcoop.org/projects/$(COMPONENT_NAME)
20 COMPONENT_FMRI= games/openttd/$(COMPONENT_NAME)
21 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
22 COMPONENT_ARCHIVE= $(COMPONENT_SRC)-all.zip
23 COMPONENT_ARCHIVE_HASH= \
24 sha256:92e293ae89f13ad679f43185e83fb81fb8cad47fe63f4af3d3d9f955130460f5
25 COMPONENT_ARCHIVE_URL= https://binaries.openttd.org/extra/$(COMPONENT_NAME)/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
26 COMPONENT_SUMMARY= Opensource music set for OpenTTD
27 COMPONENT_CLASSIFICATION="Applications/Games"
29 CONFIGURE_DEFAULT_DIRS=no
30 CONFIGURE_PREFIX=/usr
32 include $(WS_TOP)/make-rules/prep.mk
33 include $(WS_TOP)/make-rules/ips.mk
35 OPENTTD_SHARE_DIR=$(CONFIGURE_PREFIX)/share/openttd
36 PKG_OPTIONS += -D OPENTTD_SHARE_DIR="$(OPENTTD_SHARE_DIR)"
37 PKG_OPTIONS += -D COMPONENT_SRC="$(COMPONENT_SRC)"
39 build: prep
40 install: build
42 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
44 include $(WS_TOP)/make-rules/depend.mk