kumquat-buildroot/package/xscreensaver/xscreensaver.mk
Simon Dawson 11357a11e5 xscreensaver: new package
[Peter: fix libintl handling, pass --includedir / --libdir]
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-09-26 15:48:51 +02:00

28 lines
921 B
Makefile

################################################################################
#
# xscreensaver
#
################################################################################
XSCREENSAVER_VERSION = 5.22
XSCREENSAVER_SITE = http://www.jwz.org/xscreensaver
# N.B. GPLv2+ code (in the hacks/glx subdirectory) is not currently built.
XSCREENSAVER_LICENSE = MIT-like GPLv2+
XSCREENSAVER_LICENSE_FILES = hacks/screenhack.h hacks/glx/chessmodels.h
XSCREENSAVER_DEPENDENCIES = jpeg libglade libgtk2 xlib_libX11 xlib_libXt \
$(if $(BR2_PACKAGE_GETTEXT),gettext)
XSCREENSAVER_CONF_ENV = $(if $(BR2_PACKAGE_GETTEXT),LIBS=-lintl)
# otherwise we end up with host include/library dirs passed to the
# compiler/linker
XSCREENSAVER_CONF_OPT = \
--includedir=$(STAGING_DIR)/usr/include \
--libdir=$(STAGING_DIR)/usr/lib
XSCREENSAVER_INSTALL_TARGET_OPT = install_prefix="$(TARGET_DIR)" install
$(eval $(autotools-package))