You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mxe/src/teem.mk

28 lines
962 B

# This file is part of MXE. See LICENSE.md for licensing information.
12 years ago
PKG := teem
$(PKG)_WEBSITE := http://teem.sourceforge.net/
$(PKG)_DESCR := Teem
12 years ago
$(PKG)_IGNORE :=
$(PKG)_VERSION := 1.11.0
$(PKG)_CHECKSUM := a01386021dfa802b3e7b4defced2f3c8235860d500c1fa2f347483775d4c8def
12 years ago
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)-src
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION)-src.tar.gz
$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc bzip2 levmar libpng pthreads zlib
12 years ago
define $(PKG)_UPDATE
7 years ago
$(WGET) -q -O- "https://sourceforge.net/projects/teem/files/teem/" | \
grep 'teem/files/teem' | \
$(SED) -n 's,.*teem/\([0-9][^>]*\)/.*,\1,p' | \
head -1
12 years ago
endef
define $(PKG)_BUILD
cd '$(1)' && '$(TARGET)-cmake' . \
12 years ago
-DQNANHIBIT_VALUE=1 -DQNANHIBIT_VALUE__TRYRUN_OUTPUT=1
$(MAKE) -C '$(1)' -j '$(JOBS)' install VERBOSE=1
endef
$(PKG)_BUILD_SHARED =