This commit is contained in:
TriForceX
2019-09-25 20:51:37 -03:00
commit 6203ff3e7c
11215 changed files with 428258 additions and 0 deletions

11
package/lesstif/Config.in Normal file
View File

@@ -0,0 +1,11 @@
config BR2_PACKAGE_LESSTIF
bool "lesstif"
depends on BR2_USE_MMU # fork()
depends on BR2_PACKAGE_XORG7
select BR2_PACKAGE_XLIB_LIBXT
select BR2_PACKAGE_XLIB_LIBXEXT
select BR2_PACKAGE_FREETYPE
help
lesstif is the Hungry Programmers' version of OSF/Motif
http://lesstif.sourceforge.net/

View File

@@ -0,0 +1,2 @@
# Locally computed:
sha256 eb4aa38858c29a4a3bcf605cfe7d91ca41f4522d78d770f69721e6e3a4ecf7e3 lesstif-0.95.2.tar.bz2

View File

@@ -0,0 +1,42 @@
################################################################################
#
# lesstif
#
################################################################################
LESSTIF_VERSION = 0.95.2
LESSTIF_SOURCE = lesstif-$(LESSTIF_VERSION).tar.bz2
LESSTIF_SITE = http://downloads.sourceforge.net/project/lesstif/lesstif/$(LESSTIF_VERSION)
LESSTIF_INSTALL_STAGING = YES
LESSTIF_DEPENDENCIES = \
xlib_libXt \
xlib_libXext \
freetype
LESSTIF_LICENSE = LGPL-2.0+
LESSTIF_LICENSE_FILES = COPYING.LIB
LESSTIF_CONF_OPTS = \
--with-gnu-ld \
--with-freetype-config=$(STAGING_DIR)/usr/bin/freetype-config \
--enable-production=yes \
--enable-build-tests=no \
--no-recursion
# Reduces the buggy makefile to the smallest possible (and working) thing
define LESSTIF_NOMAN2HTML
echo "all:" > $(@D)/doc/Makefile
echo "" >> $(@D)/doc/Makefile
echo "install:" >> $(@D)/doc/Makefile
echo "" >> $(@D)/doc/Makefile
echo "clean:" >> $(@D)/doc/Makefile
endef
# Prevents to copy ac_find_motif.m4 on target, it would else
# be created at $(TARGET_DIR)/$(HOST_DIR)/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))