You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
734 B
23 lines
734 B
# This file is part of MXE. See LICENSE.md for licensing information.
|
|
|
|
PKG := libuv
|
|
$(PKG)_WEBSITE := https://libuv.org
|
|
$(PKG)_IGNORE :=
|
|
$(PKG)_VERSION := 1.24.1
|
|
$(PKG)_CHECKSUM := 0d026c8f68c4d7b7c59de8f485f262ac71c24e0f3a80d740a25d20edd2f2774e
|
|
$(PKG)_GH_CONF := libuv/libuv/tags, v
|
|
$(PKG)_DEPS := cc
|
|
|
|
define $(PKG)_BUILD
|
|
cd '$(SOURCE_DIR)' && sh autogen.sh
|
|
cd '$(BUILD_DIR)' && $(SOURCE_DIR)/configure \
|
|
$(MXE_CONFIGURE_OPTS)
|
|
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)'
|
|
$(MAKE) -C '$(BUILD_DIR)' -j 1 install
|
|
|
|
'$(TARGET)-gcc' \
|
|
-W -Wall -Werror -pedantic \
|
|
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-$(PKG).exe' \
|
|
`'$(TARGET)-pkg-config' $(PKG) --libs`
|
|
endef
|