forked from mxe/mxe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
libfcgi.mk
26 lines (22 loc) · 872 Bytes
/
libfcgi.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# This file is part of MXE.
# See index.html for further information.
PKG := libfcgi
$(PKG)_WEBSITE := https://github.com/FastCGI-Archives
$(PKG)_DESCR := FastCGI
$(PKG)_IGNORE :=
$(PKG)_VERSION := 2.4.2
$(PKG)_CHECKSUM := 1fe83501edfc3a7ec96bb1e69db3fd5ea1730135bd73ab152186fd0b437013bc
$(PKG)_GH_CONF := FastCGI-Archives/fcgi2/tags
$(PKG)_DEPS := cc
define $(PKG)_BUILD
cd '$(SOURCE_DIR)' && autoreconf -fi
cd '$(BUILD_DIR)' && '$(SOURCE_DIR)/configure' \
$(MXE_CONFIGURE_OPTS)
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' $(MXE_DISABLE_CRUFT)
$(MAKE) -C '$(BUILD_DIR)' -j 1 install $(MXE_DISABLE_CRUFT)
# Test
'$(TARGET)-g++' \
-W -Wall -Werror -std=c++0x -pedantic \
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-$(PKG).exe' \
`'$(TARGET)-pkg-config' fcgi --cflags --libs` -lws2_32
endef