2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-08-30 04:56:38 +02:00
|
|
|
#
|
|
|
|
# mtdev2tuio
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2013-11-02 15:57:28 +01:00
|
|
|
MTDEV2TUIO_VERSION = e1e7378d86abe751158e743586133022f32fa4d1
|
2013-12-05 18:20:46 +01:00
|
|
|
MTDEV2TUIO_SITE = $(call github,olivopaolo,mtdev2tuio,$(MTDEV2TUIO_VERSION))
|
2012-08-30 04:56:38 +02:00
|
|
|
MTDEV2TUIO_DEPENDENCIES = mtdev liblo
|
|
|
|
MTDEV2TUIO_LICENSE = GPLv3+
|
|
|
|
MTDEV2TUIO_LICENSE_FILES = COPYING
|
|
|
|
|
|
|
|
# mtdev2tuio Makefile misuses $(LD) as gcc, so we need to override LD
|
2014-09-01 10:54:18 +02:00
|
|
|
# here. Liblo uses log(3), so we need to link with -lm
|
2012-08-30 04:56:38 +02:00
|
|
|
define MTDEV2TUIO_BUILD_CMDS
|
|
|
|
$(MAKE) \
|
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
|
|
LD="$(TARGET_CC)" \
|
2014-09-01 10:54:18 +02:00
|
|
|
LIBS="-lmtdev -llo -lm" \
|
2012-08-30 04:56:38 +02:00
|
|
|
-C $(@D)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define MTDEV2TUIO_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -D -m 0755 $(@D)/mtdev2tuio $(TARGET_DIR)/usr/bin/mtdev2tuio
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|