From: Thierry Bultel <thierry.bultel@wanadoo.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Add lesstif package
Date: Thu, 19 Sep 2013 08:51:14 +0200 [thread overview]
Message-ID: <523A9EE2.9050701@wanadoo.fr> (raw)
Signed-off-by: Thierry Bultel <thierry.bultel@wanadoo.fr>
---
Adds support for lesstif.
Quite old thing but useful for porting applications based on xmotif
---
diff --git a/package/x11r7/Config.in b/package/x11r7/Config.in
index 205079c..c6d48b3 100644
--- a/package/x11r7/Config.in
+++ b/package/x11r7/Config.in
@@ -12,6 +12,7 @@ if BR2_PACKAGE_XORG7
source package/x11r7/xserver_xorg-server/Config.in
endmenu
menu "X11R7 Libraries"
+ source package/x11r7/lesstif/Config.in
source package/x11r7/libxcb/Config.in
source package/x11r7/mesa3d/Config.in
source package/x11r7/xcb-util/Config.in
diff --git a/package/x11r7/lesstif/Config.in b/package/x11r7/lesstif/Config.in
new file mode 100644
index 0000000..5d7cb11
--- /dev/null
+++ b/package/x11r7/lesstif/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LESSTIF
+ bool "lesstif"
+ select BR2_PACKAGE_XLIB_LIBXP
+ help
+ lesstif is the Hungry Programmers' version of OSF/Motif
+
+ http://lesstif.sourceforge.net/
diff --git a/package/x11r7/lesstif/lesstif.mk b/package/x11r7/lesstif/lesstif.mk
new file mode 100644
index 0000000..ed09581
--- /dev/null
+++ b/package/x11r7/lesstif/lesstif.mk
@@ -0,0 +1,39 @@
+
+#############################################################
+#
+# 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_INSTALL_TARGET = YES
+LESSTIF_DEPENDENCIES = xlib_libXt xlib_libXext
+
+LESSTIF_CONF_OPT = \
+ --with-freetype-config=$(STAGING_DIR)/usr/bin/freetype-config \
+ --with-gnu-ld \
+ --enable-debug=no \
+ --enable-production=yes \
+ --enable-build-tests=no
+
+# 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
+
+# Remove the ac_find_motif.m4 that is copied on target
+define LESSTIF_FIXACLOCAL
+ rm -rf $(TARGET_DIR)/$(HOME)
+endef
+
+LESSTIF_POST_CONFIGURE_HOOKS += LESSTIF_NOMAN2HTML
+LESSTIF_POST_INSTALL_TARGET_HOOKS += LESSTIF_FIXACLOCAL
+
+$(eval $(autotools-package))
+
next reply other threads:[~2013-09-19 6:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-19 6:51 Thierry Bultel [this message]
2013-09-22 8:43 ` [Buildroot] [PATCH] Add lesstif package Peter Korsgaard
2013-09-22 13:41 ` Thomas Petazzoni
2013-09-23 7:36 ` Thierry Bultel
2013-09-23 7:49 ` Thomas Petazzoni
2013-09-23 10:47 ` Thierry Bultel
2013-09-23 10:50 ` Peter Korsgaard
2013-09-23 12:12 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=523A9EE2.9050701@wanadoo.fr \
--to=thierry.bultel@wanadoo.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.