new package: liblsmash

pull/1227/head
darealshinji 8 years ago committed by Tony Theodore
parent 9f9c17c988
commit 759a8c34bb

@ -1765,6 +1765,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
<td class="package">liblqr-1</td>
<td class="website"><a href="http://liblqr.wikidot.com/">liblqr-1</a></td>
</tr>
<tr>
<td class="package">liblsmash</td>
<td class="website"><a href="https://l-smash.github.io/l-smash/">L-SMASH</a></td>
</tr>
<tr>
<td class="package">libltdl</td>
<td class="website"><a href="http://www.gnu.org/software/libtool/manual/html_node/Using-libltdl.html#Using-libltdl">GNU Libtool Library (libltdl)</a></td>

@ -0,0 +1,13 @@
This file is part of MXE.
See index.html for further information.
--- a/configure
+++ b/configure
@@ -198,6 +198,7 @@
case "$TARGET_OS" in
*mingw*)
EXT=".exe"
+ SHARED_NAME="liblsmash-$MAJVER"
SHARED_EXT=".dll"
IMPLIB="liblsmash.dll.a"
SO_LDFLAGS="-shared -Wl,--out-implib,$IMPLIB"

@ -0,0 +1,20 @@
# This file is part of MXE.
# See index.html for further information.
PKG := liblsmash
$(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)_DEPS := gcc
define $(PKG)_BUILD
cd '$(1)' && ./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
endef
Loading…
Cancel
Save