components/ircii/Makefile
changeset 3974 221bc3d28397
parent 3817 30b42c38bbc4
child 4339 6501cf9c29f9
equal deleted inserted replaced
3966:cca72467a46d 3974:221bc3d28397
    24 #
    24 #
    25 
    25 
    26 include ../../make-rules/shared-macros.mk
    26 include ../../make-rules/shared-macros.mk
    27 
    27 
    28 COMPONENT_NAME=		ircii
    28 COMPONENT_NAME=		ircii
    29 COMPONENT_VERSION=	20111115
    29 COMPONENT_VERSION=	20141122
    30 IPS_COMPONENT_VERSION=  0.2011.11.15
    30 IPS_COMPONENT_VERSION=  0.2014.11.22
    31 COMPONENT_PROJECT_URL=	http://www.eterna.com.au/ircii/
    31 COMPONENT_PROJECT_URL=	http://www.eterna.com.au/ircii/
    32 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    32 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    33 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
    33 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
    34 COMPONENT_ARCHIVE_HASH=	\
    34 COMPONENT_ARCHIVE_HASH=	\
    35     sha256:629a0a335c790aa5fa9f327532d1d45fd37d2fcd1902e8b0ee28b51994dcf604
    35     sha256:b5eefbd44d1eb987c324cde590ce649b45f96b1f0f562c6d2bb8fbe9af34762d
    36 COMPONENT_ARCHIVE_URL=	ftp://ircii.warped.com/pub/ircII/$(COMPONENT_ARCHIVE)
    36 COMPONENT_ARCHIVE_URL=	ftp://ircii.warped.com/pub/ircII/$(COMPONENT_ARCHIVE)
    37 COMPONENT_BUGDB=	utility/ircii
    37 COMPONENT_BUGDB=	utility/ircii
    38 
    38 
    39 TPNO=			12675
    39 TPNO=			21983
    40 
    40 
    41 include $(WS_MAKE_RULES)/prep.mk
    41 include $(WS_MAKE_RULES)/prep.mk
    42 include $(WS_MAKE_RULES)/configure.mk
    42 include $(WS_MAKE_RULES)/configure.mk
    43 include $(WS_MAKE_RULES)/ips.mk
    43 include $(WS_MAKE_RULES)/ips.mk
    44 
    44 
    53 COMPONENT_BUILD_ARGS += CC="$(CC)"
    53 COMPONENT_BUILD_ARGS += CC="$(CC)"
    54 
    54 
    55 # We need to reset configure options here because ircii is confused with
    55 # We need to reset configure options here because ircii is confused with
    56 # CC and CFLAGS definitions as configure parameters.
    56 # CC and CFLAGS definitions as configure parameters.
    57 CONFIGURE_OPTIONS       = --prefix=/usr
    57 CONFIGURE_OPTIONS       = --prefix=/usr
    58 CONFIGURE_OPTIONS       += --mandir=$(CONFIGURE_MANDIR)
    58 
    59 CONFIGURE_OPTIONS       += --bindir=$(CONFIGURE_BINDIR.$(BITS))
    59 # The mandir definition in the top-level Makefile.in is broken. Work around it.
       
    60 CONFIGURE_OPTIONS	+= --mandir=$(PROTOUSRSHAREMANDIR)
       
    61 
       
    62 CONFIGURE_OPTIONS	+= --bindir=$(USRBINDIR)
       
    63 CONFIGURE_OPTIONS	+= --libexecdir=$(USRBINDIR)
    60 CONFIGURE_OPTIONS       += $(CONFIGURE_OPTIONS.$(BITS))
    64 CONFIGURE_OPTIONS       += $(CONFIGURE_OPTIONS.$(BITS))
    61 
    65 
    62 # The ircio and wserv are now installed in the libexecdir, which by
       
    63 # default is /usr/libexec. We want to install them under /usr/bin.
       
    64 # One would think that you could just set --libexecdir=/usr/bin but no.
       
    65 # The configure script has some logic that just blindly resets it back
       
    66 # to /usr/libexec. This problem has been reported to the ircii maintainer.
       
    67 #
       
    68 # This action modifies the libexecdir setting in the Makefile to /usr/bin
       
    69 COMPONENT_POST_CONFIGURE_ACTION = \
       
    70 	$(GSED) -i -e 's|/usr/libexec|/usr/bin|' $(BUILD_DIR_64)/Makefile
       
    71 
       
    72 # Enable ASLR for this component
       
    73 ASLR_MODE = $(ASLR_ENABLE)
    66 ASLR_MODE = $(ASLR_ENABLE)
    74 
    67 
    75 # common targets
       
    76 configure:	$(CONFIGURE_64)
    68 configure:	$(CONFIGURE_64)
    77 
    69 
    78 build:		$(BUILD_64)
    70 build:		$(BUILD_64)
    79 
    71 
    80 install:	$(INSTALL_64)
    72 install:	$(INSTALL_64)
    81 
    73 
    82 test:           $(NO_TESTS)
    74 test:           $(NO_TESTS)
    83 
    75 
    84 
    76 
       
    77 REQUIRED_PACKAGES += library/security/openssl
    85 REQUIRED_PACKAGES += system/library
    78 REQUIRED_PACKAGES += system/library