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 ..
/..
/make-rules
/prep.mk
32 include ..
/..
/make-rules
/configure.mk
33 include ..
/..
/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 ..
/..
/make-rules
/depend.mk