300f9c9c9d
Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
20 lines
583 B
Makefile
20 lines
583 B
Makefile
#############################################################
|
|
#
|
|
# xvkbd
|
|
#
|
|
#############################################################
|
|
XVKBD_VERSION = 3.2
|
|
XVKBD_SOURCE = xvkbd-$(XVKBD_VERSION).tar.gz
|
|
XVKBD_SITE = http://homepage3.nifty.com/tsato/xvkbd
|
|
XVKBD_AUTORECONF = NO
|
|
XVKBD_INSTALL_STAGING = NO
|
|
XVKBD_INSTALL_TARGET = YES
|
|
|
|
XVKBD_MAKE_OPT = CC="$(TARGET_CC)" CXX="$(TARGET_CXX)" LD="$(TARGET_CC)" \
|
|
CFLAGS="-O2 -I$(STAGING_DIR)/usr/include" USRLIBDIR="$(STAGING_DIR)/usr/lib"
|
|
|
|
XVKBD_DEPENDENCIES = xserver_xorg-server xlib_libXaw xlib_libXtst
|
|
|
|
$(eval $(call AUTOTARGETS))
|
|
|