Added Karmen window manager to feeds/desktop/wm. Karmen is very lightweight and depen...
authorJohannes Findeisen <you@hanez.org>
Sat, 17 Jan 2009 19:13:50 +0000 (19:13 +0000)
committerJohannes Findeisen <you@hanez.org>
Sat, 17 Jan 2009 19:13:50 +0000 (19:13 +0000)
SVN-Revision: 14070

desktop/wm/karmen/Makefile [new file with mode: 0644]

diff --git a/desktop/wm/karmen/Makefile b/desktop/wm/karmen/Makefile
new file mode 100644 (file)
index 0000000..cee4a84
--- /dev/null
@@ -0,0 +1,50 @@
+#
+# Copyright (C) 2008 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=karmen
+PKG_VERSION:=0.15
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=http://ovh.dl.sourceforge.net/sourceforge/$(PKG_NAME)/
+PKG_MD5SUM:=8f800b71b454d6f0de2e9dd5ad34f9e3
+
+TARGET_LDFLAGS+= \
+        -Wl,-rpath-link=$(STAGING_DIR)/usr/lib 
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/karmen
+  TITLE:=karmen window manager
+  SECTION:=xorg-wm
+  CATEGORY:=Xorg
+  SUBMENU:=window manager
+  DEPENDS:=+libX11
+  URL:=http://karmen.sourceforge.net/
+endef
+
+define Package/karmen/description
+  Karmen is a window manager for x, written by Johan Veenhuizen. 
+  It is designed to just work. There is no configuration file and no 
+  library dependencies other than Xlib. The input focus model is 
+  click-to-focus. Karmen aims at icccm and ewmh compliance.
+endef
+
+define Build/Compile
+       $(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
+endef
+
+define Package/karmen/install
+       $(INSTALL_DIR) $(1)/usr/bin
+       $(INSTALL_BIN) \
+               $(PKG_INSTALL_DIR)/usr/bin/* \
+               $(1)/usr/bin/
+endef
+
+$(eval $(call BuildPackage,karmen))