summaryrefslogtreecommitdiffstats
path: root/src/liblsmash.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2018-03-13 10:13:41 (GMT)
committerTony Theodore <tonyt@logyst.com>2018-03-15 01:28:24 (GMT)
commitb3552f798ccdc03466f78b43fe9c1ab5df6eda18 (patch)
treef4399f1a92e682e04838de3021ae035f1da8b34b /src/liblsmash.mk
parent7e3453b34a159b1ea3ca23c0775c071d94f6ec4e (diff)
downloadmxe-b3552f798ccdc03466f78b43fe9c1ab5df6eda18.zip
mxe-b3552f798ccdc03466f78b43fe9c1ab5df6eda18.tar.gz
mxe-b3552f798ccdc03466f78b43fe9c1ab5df6eda18.tar.bz2
various pkgs: updates, cleanups, new-style options
Diffstat (limited to 'src/liblsmash.mk')
-rw-r--r--src/liblsmash.mk18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/liblsmash.mk b/src/liblsmash.mk
index b6f63a5..13473e7 100644
--- a/src/liblsmash.mk
+++ b/src/liblsmash.mk
@@ -4,25 +4,19 @@ PKG := liblsmash
$(PKG)_WEBSITE := https://l-smash.github.io/l-smash/
$(PKG)_DESCR := L-SMASH
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 2.9.1
-$(PKG)_CHECKSUM := 17f24fc8bffba753f8c628f1732fc3581b80362341274747ef6fb96af1cac45c
-$(PKG)_SUBDIR := l-smash-$($(PKG)_VERSION)
-$(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz
-$(PKG)_URL := https://github.com/l-smash/l-smash/archive/v$($(PKG)_VERSION).tar.gz
+$(PKG)_VERSION := 2.14.5
+$(PKG)_CHECKSUM := e6f7c31de684f4b89ee27e5cd6262bf96f2a5b117ba938d2d606cf6220f05935
+$(PKG)_GH_CONF := l-smash/l-smash/tags, v
$(PKG)_DEPS := cc
-define $(PKG)_UPDATE
- $(call MXE_GET_GITHUB_TAGS, l-smash/l-smash, v)
-endef
-
# 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.
define $(PKG)_BUILD
- cd '$(1)' && ./configure \
+ cd '$(SOURCE_DIR)' && ./configure \
--prefix='$(PREFIX)/$(TARGET)' \
--cross-prefix=$(TARGET)- \
$(if $(BUILD_SHARED), --enable-shared --disable-static)
- $(MAKE) -C '$(1)' -j '$(JOBS)'
- $(MAKE) -C '$(1)' -j 1 install
+ $(MAKE) -C '$(SOURCE_DIR)' -j '$(JOBS)'
+ $(MAKE) -C '$(SOURCE_DIR)' -j 1 install
endef