2016-08-22 20:52:34 +01:00
|
|
|
# This file is part of MXE. See LICENSE.md for licensing information.
|
2016-01-22 14:07:09 +00:00
|
|
|
|
|
|
|
PKG := liblsmash
|
2016-12-18 05:43:56 +00:00
|
|
|
$(PKG)_WEBSITE := https://l-smash.github.io/l-smash/
|
|
|
|
$(PKG)_DESCR := L-SMASH
|
2016-01-22 14:07:09 +00:00
|
|
|
$(PKG)_IGNORE :=
|
2018-03-13 10:13:41 +00:00
|
|
|
$(PKG)_VERSION := 2.14.5
|
|
|
|
$(PKG)_CHECKSUM := e6f7c31de684f4b89ee27e5cd6262bf96f2a5b117ba938d2d606cf6220f05935
|
|
|
|
$(PKG)_GH_CONF := l-smash/l-smash/tags, v
|
2017-11-25 13:36:07 +00:00
|
|
|
$(PKG)_DEPS := cc
|
2016-01-22 14:07:09 +00:00
|
|
|
|
2016-01-23 11:40:46 +00:00
|
|
|
# L-SMASH uses a custom made configure script that doesn't recognize
|
|
|
|
# the option --host and fails on unknown options.
|
|
|
|
# Therefor $(MXE_CONFIGURE_OPTS) can't be used here.
|
2016-01-22 14:07:09 +00:00
|
|
|
define $(PKG)_BUILD
|
2018-03-13 10:13:41 +00:00
|
|
|
cd '$(SOURCE_DIR)' && ./configure \
|
2016-01-22 14:07:09 +00:00
|
|
|
--prefix='$(PREFIX)/$(TARGET)' \
|
|
|
|
--cross-prefix=$(TARGET)- \
|
|
|
|
$(if $(BUILD_SHARED), --enable-shared --disable-static)
|
2018-03-13 10:13:41 +00:00
|
|
|
$(MAKE) -C '$(SOURCE_DIR)' -j '$(JOBS)'
|
|
|
|
$(MAKE) -C '$(SOURCE_DIR)' -j 1 install
|
2016-01-22 14:07:09 +00:00
|
|
|
endef
|