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 2018 Alexander Pyhalov
13 # Copyright 2019 Michal Nowak
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= rdesktop
21 COMPONENT_VERSION
= 1.9.0
23 COMPONENT_PROJECT_URL
= https
://www.rdesktop.org
/
24 COMPONENT_SUMMARY
= RDP
, Microsoft Terminal Services client
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
27 COMPONENT_ARCHIVE_HASH
= \
28 sha256
:473c2f312391379960efe41caad37852c59312bc8f100f9b5f26609ab5704288
29 COMPONENT_ARCHIVE_URL
= https
://github.com
/rdesktop
/rdesktop
/releases
/download
/v
$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
30 COMPONENT_FMRI
= desktop
/remote-desktop
/rdesktop
31 COMPONENT_CLASSIFICATION
= Applications
/Internet
32 COMPONENT_LICENSE_FILE
= COPYING
33 COMPONENT_LICENSE
= GPLv3
35 TEST_TARGET
= $(NO_TESTS
)
37 include $(WS_MAKE_RULES
)/common.mk
41 COMPONENT_PREP_ACTION
= (cd
$(@D
) && autoreconf
-if
)
43 # Missing files in build dir without this.
44 COMPONENT_PRE_CONFIGURE_ACTION
= ($(CLONEY
) $(SOURCE_DIR
) $(@D
))
46 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
47 CONFIGURE_OPTIONS
+= --disable-smartcard
48 CONFIGURE_OPTIONS
+= --enable-credssp
49 CONFIGURE_OPTIONS
+= --with-ipv6
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES
+= library
/audio
/libao
53 REQUIRED_PACKAGES
+= library
/audio
/pulseaudio
54 REQUIRED_PACKAGES
+= library
/gmp
55 REQUIRED_PACKAGES
+= library
/gnutls-3
56 REQUIRED_PACKAGES
+= library
/libsamplerate
57 REQUIRED_PACKAGES
+= library
/libtasn1
58 REQUIRED_PACKAGES
+= library
/nettle
59 REQUIRED_PACKAGES
+= system
/library
60 REQUIRED_PACKAGES
+= system
/library
/security
/gss
61 REQUIRED_PACKAGES
+= x11
/library
/libx11
62 REQUIRED_PACKAGES
+= x11
/library
/libxcursor
63 REQUIRED_PACKAGES
+= x11
/library
/libxrandr