Move libmicrohttpd to library category
[unleashed-userland.git] / components / library / libmicrohttpd / Makefile
blob091f6cf96b8140c854d24c693cd50c5274ea4f25
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 2014 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
15 include ../../../make-rules/shared-macros.mk
17 COMPONENT_NAME= libmicrohttpd
18 COMPONENT_VERSION= 0.9.38
19 COMPONENT_PROJECT_URL= http://www.gnu.org/software/libmicrohttpd/
20 COMPONENT_FMRI= library/libmicrohttpd
21 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
22 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
23 COMPONENT_ARCHIVE_HASH= \
24 sha256:8df2b4dd863c98799a4775a530d905363fbc02fec850af9094da890b28b9e721
25 COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
26 COMPONENT_LICENSE= LGPL2.1+
27 COMPONENT_LICENSE_FILE= $(COMPONENT_NAME).license
28 COMPONENT_SUMMARY= GNU libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server as part of another application
29 COMPONENT_CLASSIFICATION=System/Libraries
31 include $(WS_MAKE_RULES)/prep.mk
32 include $(WS_MAKE_RULES)/configure.mk
33 include $(WS_MAKE_RULES)/ips.mk
35 CONFIGURE_ENV += LIBS="-lnsl -lsocket"
37 build: $(BUILD_32_and_64)
39 install: $(INSTALL_32_and_64)
41 test: $(TEST_32_and_64)
43 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
45 include $(WS_MAKE_RULES)/depend.mk