component(developer/golang-123): Add Component
[oi-userland.git] / components / desktop / gftp / Makefile
blobbf50302162f30129f4e444b3048a94c3687892a7
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 OPENSSL_VERSION= 3.1
16 PREFERRED_BITS= 64
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= gftp
21 COMPONENT_VERSION= 2.9.1
22 COMPONENT_VERSION_MNR= b
23 COMPONENT_PROJECT_URL= https://www.gftp.org/
24 COMPONENT_SUMMARY= Multithreaded file transfer client for *NIX based machines
25 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)$(COMPONENT_VERSION_MNR)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
27 COMPONENT_ARCHIVE_HASH= \
28 sha256:79c727a0c7720e0e49dac4fc760a686d10ff78a496e1e3e644b45d3e76e1eecd
29 COMPONENT_ARCHIVE_URL= https://github.com/masneyb/$(COMPONENT_NAME)/releases/download/$(COMPONENT_VERSION)$(COMPONENT_VERSION_MNR)/$(COMPONENT_ARCHIVE)
30 COMPONENT_FMRI= desktop/$(COMPONENT_NAME)
31 COMPONENT_LICENSE_FILE= LICENSE
32 COMPONENT_LICENSE= MIT
33 COMPONENT_CLASSIFICATION= Applications/System Utilities
35 include $(WS_MAKE_RULES)/common.mk
37 PATH=$(PATH.gnu)
39 CFLAGS += -I$(OPENSSL_INCDIR)
40 LDFLAGS += -L$(OPENSSL_LIBDIR)
42 COMPONENT_PRE_CONFIGURE_ACTION = \
43 ($(CLONEY) $(SOURCE_DIR) $(@D))
45 # Auto-generated dependencies
46 REQUIRED_PACKAGES += $(OPENSSL_PKG)
47 REQUIRED_PACKAGES += $(READLINE_PKG)
48 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
49 REQUIRED_PACKAGES += library/desktop/gtk2
50 REQUIRED_PACKAGES += library/glib2
51 REQUIRED_PACKAGES += shell/ksh93
52 REQUIRED_PACKAGES += system/library