python-pathvalidate: bump version to 0.14.1
[buildroot-gz.git] / package / mtdev2tuio / mtdev2tuio.mk
blobd2e70408f16ada64392c30530b0d82d7ea42c9bd
1 ################################################################################
3 # mtdev2tuio
5 ################################################################################
7 MTDEV2TUIO_VERSION = e1e7378d86abe751158e743586133022f32fa4d1
8 MTDEV2TUIO_SITE = $(call github,olivopaolo,mtdev2tuio,$(MTDEV2TUIO_VERSION))
9 MTDEV2TUIO_DEPENDENCIES = mtdev liblo
10 MTDEV2TUIO_LICENSE = GPLv3+
11 MTDEV2TUIO_LICENSE_FILES = COPYING
13 # mtdev2tuio Makefile misuses $(LD) as gcc, so we need to override LD
14 # here. Liblo uses log(3), so we need to link with -lm
15 define MTDEV2TUIO_BUILD_CMDS
16 $(TARGET_MAKE_ENV) $(MAKE) \
17 $(TARGET_CONFIGURE_OPTS) \
18 LD="$(TARGET_CC)" \
19 LIBS="-lmtdev -llo -lm" \
20 -C $(@D)
21 endef
23 define MTDEV2TUIO_INSTALL_TARGET_CMDS
24 $(INSTALL) -D -m 0755 $(@D)/mtdev2tuio $(TARGET_DIR)/usr/bin/mtdev2tuio
25 endef
27 $(eval $(generic-package))