kumquat-buildroot/package/unclutter-xfixes/unclutter-xfixes.mk
Joseph Kogut 97424d147f package/unclutter-xfixes: new package
Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
[Thomas:
 - Fix incorrect "select"
 - Simplify the build command, to allow the package Makefile to use
   pkg-config, so added host-pkgconf
 - Use a full destination path for the installation step
 - Use the Github macro]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-07-18 23:27:32 +02:00

23 lines
759 B
Makefile

################################################################################
#
# unclutter-xfixes
#
################################################################################
UNCLUTTER_XFIXES_VERSION = 1.5
UNCLUTTER_XFIXES_SITE = $(call github,Airblader,unclutter-xfixes,v$(UNCLUTTER_XFIXES_VERSION))
UNCLUTTER_XFIXES_LICENSE = MIT
UNCLUTTER_XFIXES_LICENSE_FILES = LICENSE
UNCLUTTER_XFIXES_DEPENDENCIES = libev xlib_libX11 xlib_libXfixes xlib_libXi host-pkgconf
define UNCLUTTER_XFIXES_BUILD_CMDS
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
$(MAKE) -C $(@D) unclutter CC="$(TARGET_CC)"
endef
define UNCLUTTER_XFIXES_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/unclutter $(TARGET_DIR)/usr/bin/unclutter
endef
$(eval $(generic-package))