mxe/src/libgnurx.mk

23 lines
1003 B
Makefile
Raw Normal View History

# This file is part of MXE. See LICENSE.md for licensing information.
2011-10-24 21:30:35 +01:00
PKG := libgnurx
2017-03-04 10:33:47 +00:00
$(PKG)_WEBSITE := https://sourceforge.net/projects/mingw/files/UserContributed/regex/
2011-10-24 21:30:35 +01:00
$(PKG)_IGNORE :=
$(PKG)_VERSION := 2.6.1
$(PKG)_CHECKSUM := ee6edc110c6b63d0469f4f05ef187564b310cc8a88b6566310a4aebd48b612c7
2018-03-13 10:11:56 +00:00
$(PKG)_GH_CONF := TimothyGu/libgnurx/releases/latest,libgnurx-
2011-10-24 21:30:35 +01:00
$(PKG)_SUBDIR := mingw-libgnurx-$($(PKG)_VERSION)
$(PKG)_FILE := mingw-libgnurx-$($(PKG)_VERSION)-src.tar.gz
$(PKG)_URL := https://github.com/TimothyGu/libgnurx/releases/download/libgnurx-$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS := cc
2011-10-24 21:30:35 +01:00
define $(PKG)_BUILD
2018-03-13 10:11:56 +00:00
# custom makefile so build in source
cd '$(SOURCE_DIR)' && ./configure \
2011-10-24 21:30:35 +01:00
--host='$(TARGET)' \
--prefix='$(PREFIX)/$(TARGET)'
2018-03-13 10:11:56 +00:00
$(MAKE) -C '$(SOURCE_DIR)' -f Makefile.mxe -j '$(JOBS)' \
$(if $(BUILD_STATIC),install-static,install-shared) \
TARGET=$(TARGET) bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
2011-10-24 21:30:35 +01:00
endef