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
13 # Copyright (c) 2019 Michal Nowak
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= dosbox
20 COMPONENT_VERSION
= 0.74-3
22 IPS_COMPONENT_VERSION
= 0.74.3
23 COMPONENT_PROJECT_URL
= https
://www.dosbox.com
/
24 COMPONENT_SUMMARY
= DosBox
- DOS Emulator
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
27 COMPONENT_ARCHIVE_HASH
= \
28 sha256
:c0d13dd7ed2ed363b68de615475781e891cd582e8162b5c3669137502222260a
29 COMPONENT_ARCHIVE_URL
= https
://prdownloads.sourceforge.net
/$(COMPONENT_NAME
)/$(COMPONENT_ARCHIVE
)
30 COMPONENT_LICENSE
= GPLv2
31 COMPONENT_LICENSE_FILE
= COPYING
32 COMPONENT_FMRI
= runtime
/dosbox
33 COMPONENT_CLASSIFICATION
= Applications
/System Utilities
35 TEST_TARGET
= $(NO_TESTS
)
36 include $(WS_MAKE_RULES
)/common.mk
38 COMPONENT_PREP_ACTION
= ( \
42 libtoolize
--automake
--copy
--force && \
43 automake
-a
-f
-c
&& \
46 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
48 CONFIGURE_ENV
+= PERL
=$(PERL
)
49 CONFIGURE_ENV
+= PYTHON
=$(PYTHON
)
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
53 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
54 REQUIRED_PACKAGES
+= image
/library
/libpng16
55 REQUIRED_PACKAGES
+= library
/audio
/sdl-sound
56 REQUIRED_PACKAGES
+= library
/sdl
57 REQUIRED_PACKAGES
+= library
/zlib
58 REQUIRED_PACKAGES
+= system
/library
59 REQUIRED_PACKAGES
+= system
/library
/math
60 REQUIRED_PACKAGES
+= x11
/library
/libx11