2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2022 Till Wegmueller
16 BUILD_BITS
=64 # for binaries or 32_and_64 for libraries
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= fs-uae
20 COMPONENT_VERSION
= 3.1.66
21 COMPONENT_SUMMARY
= Accurate Amiga Emulation
22 COMPONENT_PROJECT_URL
= https
://fs-uae.net
/
23 COMPONENT_FMRI
= emulators
/$(COMPONENT_NAME
)
24 COMPONENT_CLASSIFICATION
=Applications
/System Utilities
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
27 COMPONENT_ARCHIVE_URL
= https
://fs-uae.net
/files
/FS-UAE
/Stable
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
28 COMPONENT_ARCHIVE_HASH
= sha256
:606e1868b500413d69bd33bb469f8fd08d6c08988801f17b7dd022f3fbe23832
29 COMPONENT_LICENSE
= GPLv2
30 COMPONENT_LICENSE_FILE
= fs-uae.txt
32 TEST_TARGET
=$(NO_TESTS
) # if no testsuite enabled
33 include $(WS_MAKE_RULES
)/encumbered.mk
34 include $(WS_MAKE_RULES
)/common.mk
36 COMPONENT_PRE_CONFIGURE_ACTION
= mkdir
$(SOURCE_DIR
)/dist/solaris
; cp
-r files
/* $(SOURCE_DIR
)/dist/solaris
; cd
$(SOURCE_DIR
); autoreconf
-fi
38 LDFLAGS
+= -lsocket
-lnsl
40 CONFIGURE_ENV
+= "LDFLAGS=$(LDFLAGS)"
42 CONFIGURE_OPTIONS
+= --disable-jit
44 # Auto-generated dependencies
45 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
46 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
47 REQUIRED_PACKAGES
+= image
/library
/libpng16
48 REQUIRED_PACKAGES
+= library
/audio
/openal
49 REQUIRED_PACKAGES
+= library
/glib2
50 REQUIRED_PACKAGES
+= library
/sdl2
51 REQUIRED_PACKAGES
+= library
/video
/libmpeg2
52 REQUIRED_PACKAGES
+= library
/zlib
53 REQUIRED_PACKAGES
+= system
/library
54 REQUIRED_PACKAGES
+= system
/library
/math
55 REQUIRED_PACKAGES
+= x11
/library
/libx11