parent
152dd55189
commit
1b8f42fb8e
@ -0,0 +1,20 @@
|
||||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := libcomm14cux
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_VERSION := 2.0.1
|
||||
$(PKG)_CHECKSUM := 0632a50f8c224d94c5848ec66fe76c60cd456c72
|
||||
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_URL := https://github.com/colinbourassa/libcomm14cux/archive/$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_DEPS := gcc
|
||||
|
||||
define $(PKG)_BUILD
|
||||
mkdir '$(1)/build'
|
||||
cd '$(1)/build' && cmake .. \
|
||||
-DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
|
||||
-DBUILD_STATIC=$(if $(BUILD_STATIC),ON,OFF)
|
||||
|
||||
$(MAKE) -C '$(1)/build' -j '$(JOBS)' install
|
||||
endef
|
Loading…
Reference in new issue