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 (c) 2015 Alexander Pyhalov
15 include ..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= dosbox
18 COMPONENT_VERSION
= 0.74
19 COMPONENT_PROJECT_URL
= http
://www.dosbox.com
/
20 COMPONENT_SUMMARY
= DosBox
- DOS Emulator
21 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
22 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
23 COMPONENT_ARCHIVE_HASH
= \
24 sha256
:13f74916e2d4002bad1978e55727f302ff6df3d9be2f9b0e271501bd0a938e05
25 COMPONENT_ARCHIVE_URL
= http
://prdownloads.sourceforge.net
/$(COMPONENT_NAME
)/$(COMPONENT_ARCHIVE
)
26 COMPONENT_LICENSE
= GPLv2
27 COMPONENT_LICENSE_FILE
= COPYING
28 COMPONENT_FMRI
= runtime
/dosbox
29 COMPONENT_CLASSIFICATION
= Applications
/System Utilities
31 include $(WS_TOP
)/make-rules
/prep.mk
32 include $(WS_TOP
)/make-rules
/configure.mk
33 include $(WS_TOP
)/make-rules
/ips.mk
35 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && \
38 libtoolize
--automake
--copy
--force && \
42 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
44 CONFIGURE_ENV
+= PERL
=$(PERL
)
45 CONFIGURE_ENV
+= PYTHON
=$(PYTHON
)
50 install: $(INSTALL_32
)
54 BUILD_PKG_DEPENDENCIES
= $(BUILD_TOOLS
)
56 include $(WS_TOP
)/make-rules
/depend.mk