summaryrefslogtreecommitdiffstats
path: root/package/xvkbd/xvkbd.mk
blob: 0411fa44fec48ee3fb31d43bdeb3ad2d82ed4b65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
################################################################################
#
# xvkbd
#
################################################################################

XVKBD_VERSION = 3.2
XVKBD_SITE = http://homepage3.nifty.com/tsato/xvkbd
XVKBD_LICENSE = GPLv2+
XVKBD_LICENSE_FILES = README

# 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))
OpenPOWER on IntegriCloud