kumquat-buildroot/package/unifdef/unifdef.mk
Thomas Devoogdt 7dbe844bae package/unifdef: add new package
A small package that does "Selectively remove C preprocessor conditionals".

The package will be needed for the upcoming webkitgtk 2.40.0 release.
I personally added it to get started with 2.39.2.

See: f76a7e30e5
Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
[Peter: use prefix=]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022-12-20 08:16:27 +01:00

21 lines
528 B
Makefile

################################################################################
#
# unifdef
#
################################################################################
UNIFDEF_VERSION = 2.12
UNIFDEF_SITE = https://dotat.at/prog/unifdef
UNIFDEF_LICENSE = BSD-2-Clause
UNIFDEF_LICENSE_FILES = COPYING
define HOST_UNIFDEF_BUILD_CMDS
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)
endef
define HOST_UNIFDEF_INSTALL_CMDS
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) prefix=$(HOST_DIR) install
endef
$(eval $(host-generic-package))