buildroot/package/mtdev2tuio/mtdev2tuio.mk
Marek Belisko c2d525e82d Download packages from github in tar.gz format instead git format.
Verified way how to get packages from github by version or sha1
(it's enough to use first 7 characters from SHA1):
1. by sha1
FOO_VERSION = 1234567
FOO_SITE = http://github.com/user/package/tarball/branch

2. by version
FOO_VERSION = v1.0
FOO_SITE = http://github.com/user/package/tarball/$(FOO_VERSION)

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-10-08 21:21:00 +02:00

30 lines
737 B
Makefile

#############################################################
#
# mtdev2tuio
#
#############################################################
MTDEV2TUIO_VERSION = e1e7378
MTDEV2TUIO_SITE = http://github.com/olivopaolo/mtdev2tuio/tarball/master
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))