summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 000000000..40de632bb
--- /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 000000000..3606f976b
--- /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 000000000..4ad465005
--- /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))