kumquat-buildroot/package/xvkbd/xvkbd.mk
Thomas Petazzoni 3ed3b69efe xvkbd: turn into a generic-package
xvkbd was integrated has an autotools package, but it does not have a
./configure script. And to avoid executing the ./configure, the
xvkbd-2.8-makefile.patch was creating a dummy .stamp_configured stamp
file... Ugly.

So, make xvkbd a normal generic package, with BUILD_CMDS and
INSTALL_TARGET_CMDS, and get rid of the crappy part of the patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-01-12 22:52:01 +01:00

34 lines
744 B
Makefile

#############################################################
#
# xvkbd
#
#############################################################
XVKBD_VERSION = 3.2
XVKBD_SOURCE = xvkbd-$(XVKBD_VERSION).tar.gz
XVKBD_SITE = http://homepage3.nifty.com/tsato/xvkbd
# Passing USRLIBDIR ensures that the stupid Makefile doesn't add
# /usr/lib to the library search path.
define XVKBD_BUILD_CMDS
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
USRLIBDIR="$(STAGING_DIR)/usr/lib"
endef
define XVKBD_INSTALL_TARGET_CMDS
$(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
endef
XVKBD_DEPENDENCIES = \
xlib_libICE \
xlib_libSM \
xlib_libX11 \
xlib_libXaw \
xlib_libXext \
xlib_libXmu \
xlib_libXpm \
xlib_libXt \
xlib_libXtst
$(eval $(generic-package))