30 lines
728 B
Makefile
30 lines
728 B
Makefile
|
#############################################################
|
||
|
#
|
||
|
# mtdev2tuio
|
||
|
#
|
||
|
#############################################################
|
||
|
MTDEV2TUIO_VERSION = e1e7378d86
|
||
|
MTDEV2TUIO_SITE = git://github.com/olivopaolo/mtdev2tuio.git
|
||
|
MTDEV2TUIO_DEPENDENCIES = mtdev liblo
|
||
|
MTDEV2TUIO_LICENSE = GPLv3+
|
||
|
MTDEV2TUIO_LICENSE_FILES = COPYING
|
||
|
|
||
|
# mtdev2tuio Makefile misuses $(LD) as gcc, so we need to override LD
|
||
|
# here.
|
||
|
define MTDEV2TUIO_BUILD_CMDS
|
||
|
$(MAKE) \
|
||
|
$(TARGET_CONFIGURE_OPTS) \
|
||
|
LD="$(TARGET_CC)" \
|
||
|
-C $(@D)
|
||
|
endef
|
||
|
|
||
|
define MTDEV2TUIO_INSTALL_TARGET_CMDS
|
||
|
$(INSTALL) -D -m 0755 $(@D)/mtdev2tuio $(TARGET_DIR)/usr/bin/mtdev2tuio
|
||
|
endef
|
||
|
|
||
|
define MTDEV2TUIO_CLEAN_CMDS
|
||
|
$(MAKE) -C $(@D) clean
|
||
|
endef
|
||
|
|
||
|
$(eval $(generic-package))
|