kumquat-buildroot/package/fb-test-app/fb-test-app.mk
Peter Korsgaard b17472e1fb package: don't use .xz format for github
Fixes http://autobuild.buildroot.net/results/955/955ed1af28f6ff9912adddc0342d1f3ca65e5b4d/

Commit 62146ea3ad (change package tarball compression to xz whenever possible)
changed a number of packages to use .xz format tarballs. Unfortunately this
doesn't work for packages from github, as it delivers gzip compressed tarballs
even when a .xz is requested.

Fix it by reverting this change for the packages using github.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-09-09 11:40:44 +02:00

35 lines
1.0 KiB
Makefile

################################################################################
#
# fb-test-app
#
################################################################################
FB_TEST_APP_VERSION = v1.0.0
FB_TEST_APP_SITE = http://github.com/prpplague/fb-test-app/tarball/$(FB_TEST_APP_VERSION)
FB_TEST_APP_LICENSE = GPLv2
FB_TEST_APP_LICENSE_FILES = COPYING
define FB_TEST_APP_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
endef
define FB_TEST_APP_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/perf $(TARGET_DIR)/usr/bin/fb-test-perf
$(INSTALL) -D -m 0755 $(@D)/rect $(TARGET_DIR)/usr/bin/fb-test-rect
$(INSTALL) -D -m 0755 $(@D)/fb-test $(TARGET_DIR)/usr/bin/fb-test
$(INSTALL) -D -m 0755 $(@D)/offset $(TARGET_DIR)/usr/bin/fb-test-offset
endef
define FB_TEST_APP_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/bin/fb-test-perf
rm -f $(TARGET_DIR)/usr/bin/fb-test-rect
rm -f $(TARGET_DIR)/usr/bin/fb-test
rm -f $(TARGET_DIR)/usr/bin/fb-test-offset
endef
define FB_TEST_APP_CLEAN_CMDS
$(MAKE) -C $(@D) clean
endef
$(eval $(generic-package))