CONFIGURE_VARS+=LIBS="-nodefaultlibs -luClibc++ -Wl,-Bstatic,-lstdc++,-Bdynamic -lm" \
CXXLD="$(TARGET_CC)"
-CONFIGURE_ARGS+=--disable-static --disable-xmb
+CONFIGURE_ARGS+=--disable-xmb
define Package/fluxbox
SECTION:=xorg-wm
endef
define Package/fluxbox/install
- $(INSTALL_DIR) $(1)/usr/
- $(CP) $(PKG_INSTALL_DIR)/usr/bin/ $(1)/usr/
- $(CP) $(PKG_INSTALL_DIR)/usr/share/ $(1)/usr/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/share/fluxbox/styles/
+ $(CP) $(PKG_INSTALL_DIR)/usr/bin/{fluxbox,fbsetbg} $(1)/usr/
+ $(CP) $(PKG_INSTALL_DIR)/usr/share/fluxbox/{init,keys} $(1)/usr/share/fluxbox/
+ $(CP) $(PKG_INSTALL_DIR)/usr/share/fluxbox/styles/BlueFlux/ $(1)/usr/share/fluxbox/styles
+ $(CP) files/menu $(1)/usr/share/fluxbox/
endef
$(eval $(call BuildPackage,fluxbox))
--- /dev/null
+[begin] (Fluxbox-OpenWrt)
+ [exec] (xterm) {xterm}
+ [exec] (vi) {xterm -e vi}
+ [exec] (xmms) {xmms}
+ [exec] (alsamixer) {xterm -e alsamixer}
+ [exec] (vlc) {vlc}
+ [exec] (xclock) {xclock}
+ [exec] (xmag) {xmag}
+ [exec] (xclock) {xclock}
+ [exec] (xcalc) {xcalc}
+ [exec] (xpdf) {xpdf}
+ [exec] (top) {xterm -e top}
+[submenu] (fluxbox menu)
+ [config] (Configure)
+[submenu] (System Styles) {Choose a style...}
+ [stylesdir] (/usr/share/fluxbox/styles)
+[end]
+ [workspaces] (Workspace List)
+[submenu] (Tools)
+ [exec] (fluxconf) {fluxconf}
+ [exec] (fluxkeys) {fluxkeys}
+ [exec] (fluxmenu) {fluxmenu}
+[end]
+ [commanddialog] (Fluxbox Command)
+ [reconfig] (Reload config)
+ [restart] (Restart)
+ [exec] (About) {(fluxbox -v; fluxbox -info | sed 1d) 2> /dev/null | xmessage -file - -center}
+ [separator]
+ [exit] (Exit)
+[end]
+[end]