2013-09-24 17:45:52 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# lesstif
|
|
|
|
#
|
|
|
|
################################################################################
|
2017-04-05 00:50:13 +02:00
|
|
|
|
2013-09-24 17:45:52 +02:00
|
|
|
LESSTIF_VERSION = 0.95.2
|
2014-07-02 14:40:10 +02:00
|
|
|
LESSTIF_SOURCE = lesstif-$(LESSTIF_VERSION).tar.bz2
|
|
|
|
LESSTIF_SITE = http://downloads.sourceforge.net/project/lesstif/lesstif/$(LESSTIF_VERSION)
|
2013-09-24 17:45:52 +02:00
|
|
|
LESSTIF_INSTALL_STAGING = YES
|
|
|
|
LESSTIF_DEPENDENCIES = \
|
|
|
|
xlib_libXt \
|
|
|
|
xlib_libXext \
|
|
|
|
freetype
|
2017-03-30 15:43:37 +02:00
|
|
|
LESSTIF_LICENSE = LGPL-2.0+
|
2014-07-02 14:40:10 +02:00
|
|
|
LESSTIF_LICENSE_FILES = COPYING.LIB
|
2014-09-27 21:32:44 +02:00
|
|
|
LESSTIF_CONF_OPTS = \
|
2013-09-24 17:45:52 +02:00
|
|
|
--with-gnu-ld \
|
|
|
|
--with-freetype-config=$(STAGING_DIR)/usr/bin/freetype-config \
|
2017-04-21 17:24:48 +02:00
|
|
|
--enable-production=yes \
|
2013-09-24 17:45:52 +02:00
|
|
|
--enable-build-tests=no \
|
|
|
|
--no-recursion
|
|
|
|
|
|
|
|
# Reduces the buggy makefile to the smallest possible (and working) thing
|
|
|
|
define LESSTIF_NOMAN2HTML
|
2017-03-26 17:05:43 +02:00
|
|
|
echo "all:" > $(@D)/doc/Makefile
|
|
|
|
echo "" >> $(@D)/doc/Makefile
|
2013-09-24 17:45:52 +02:00
|
|
|
echo "install:" >> $(@D)/doc/Makefile
|
2017-03-26 17:05:43 +02:00
|
|
|
echo "" >> $(@D)/doc/Makefile
|
|
|
|
echo "clean:" >> $(@D)/doc/Makefile
|
2013-09-24 17:45:52 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
# Prevents to copy ac_find_motif.m4 on target, it would else
|
|
|
|
# be created at $(TARGET_DIR)/$(TOPDIR)/output/host/usr/share/aclocal/ac_find_motif.m4
|
|
|
|
define LESSTIF_FIXACLOCAL
|
|
|
|
sed -i -e "/install-data-am: install-aclocalDATA/d" $(@D)/scripts/autoconf/Makefile
|
|
|
|
endef
|
|
|
|
|
|
|
|
LESSTIF_POST_CONFIGURE_HOOKS += LESSTIF_NOMAN2HTML
|
|
|
|
LESSTIF_POST_CONFIGURE_HOOKS += LESSTIF_FIXACLOCAL
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|