From 00d73f003c66b0d0b7846e7d4b68daa6b13997c9 Mon Sep 17 00:00:00 2001 From: darealshinji Date: Sat, 23 Jan 2016 12:40:46 +0100 Subject: [PATCH] liblsmash: add update rule --- src/liblsmash.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/liblsmash.mk b/src/liblsmash.mk index 3a255897..495077be 100644 --- a/src/liblsmash.mk +++ b/src/liblsmash.mk @@ -10,6 +10,13 @@ $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz $(PKG)_URL := https://github.com/l-smash/l-smash/archive/v$($(PKG)_VERSION).tar.gz $(PKG)_DEPS := gcc +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 \ --prefix='$(PREFIX)/$(TARGET)' \