aboutsummaryrefslogtreecommitdiff
path: root/package/blackbox
diff options
context:
space:
mode:
authorGravatar John Voltz <john.voltz@gmail.com>2008-03-06 17:55:26 +0000
committerGravatar John Voltz <john.voltz@gmail.com>2008-03-06 17:55:26 +0000
commit4284f53eddded3954b9fd0f70fadab10c8be984c (patch)
tree5ca2d135ac841341aecf684bf7d05f69f7af87da /package/blackbox
parentce5699aaea7554d04c5a33439c1943840afcde73 (diff)
downloadbuildroot-4284f53eddded3954b9fd0f70fadab10c8be984c.tar.gz
buildroot-4284f53eddded3954b9fd0f70fadab10c8be984c.tar.bz2
added blackbox window manager
Diffstat (limited to 'package/blackbox')
-rw-r--r--package/blackbox/Config.in11
-rw-r--r--package/blackbox/blackbox-0.70.1-configure.patch15
-rw-r--r--package/blackbox/blackbox.mk23
3 files changed, 49 insertions, 0 deletions
diff --git a/package/blackbox/Config.in b/package/blackbox/Config.in
new file mode 100644
index 0000000000..40de632bb0
--- /dev/null
+++ b/package/blackbox/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_BLACKBOX
+ bool "blackbox"
+ default n
+ depends on BR2_PACKAGE_XORG||BR2_PACKAGE_XORG7
+ help
+ Blackbox is a fast, lightweight window manager for the X Window System.
+
+ http://blackboxwm.sourceforge.net/
+
+comment "blackbox - disabled (requires Xorg(7))"
+ depends !(BR2_PACKAGE_XORG || BR2_PACKAGE_XORG7)
diff --git a/package/blackbox/blackbox-0.70.1-configure.patch b/package/blackbox/blackbox-0.70.1-configure.patch
new file mode 100644
index 0000000000..3606f976b2
--- /dev/null
+++ b/package/blackbox/blackbox-0.70.1-configure.patch
@@ -0,0 +1,15 @@
+--- a/configure 2005-11-03 03:27:16.000000000 -0500
++++ b/configure 2008-02-02 23:25:25.000000000 -0500
+@@ -1980,12 +1980,6 @@ am__tar='${AMTAR} chof - "$$tardir"'; am
+
+ test "x$prefix" = "xNONE" && prefix="$ac_default_prefix"
+
+-CPPFLAGS="$CPPFLAGS -I$prefix/include"
+-LDFLAGS="$LDFLAGS -L$prefix/lib"
+-if test "x$prefix" != "x/usr/local"; then
+- CPPFLAGS="$CPPFLAGS -I/usr/local/include"
+- LDFLAGS="$LDFLAGS -L/usr/local/lib"
+-fi
+
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
diff --git a/package/blackbox/blackbox.mk b/package/blackbox/blackbox.mk
new file mode 100644
index 0000000000..4ad4650051
--- /dev/null
+++ b/package/blackbox/blackbox.mk
@@ -0,0 +1,23 @@
+#############################################################
+#
+# blackbox
+#
+#############################################################
+
+BLACKBOX_VERSION = 0.70.1
+BLACKBOX_SOURCE = blackbox-$(BLACKBOX_VERSION).tar.bz2
+BLACKBOX_SITE = http://superb-west.dl.sourceforge.net/sourceforge/blackboxwm/
+BLACKBOX_AUTORECONF = NO
+BLACKBOX_INSTALL_STAGING = NO
+BLACKBOX_INSTALL_TARGET = YES
+BLACKBOX_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
+
+BLACKBOX_CONF_OPT = --target=$(GNU_TARGET_NAME) --host=$(GNU_TARGET_NAME) \
+ --build=$(GNU_HOST_NAME) --prefix=/usr \
+ --sysconfdir=/etc --x-includes=$(STAGING_DIR)/usr/include/X11 \
+ --x-libraries=$(STAGING_DIR)/usr/lib
+
+
+BLACKBOX_DEPENDENCIES = uclibc $(XSERVER)
+
+$(eval $(call AUTOTARGETS,package,blackbox))