introduce new uci option "autostart" and modify xserver init scripts and window manag...
[openwrt/svn-archive/archive.git] / Xorg / wm / matchbox-window-manager / Makefile
index 948a573..43439f1 100644 (file)
@@ -58,6 +58,17 @@ define Package/matchbox-window-manager/install
        $(CP) \
                $(PKG_INSTALL_DIR)/usr/share/themes/* \
                $(1)/usr/share/themes/
+       $(INSTALL_DIR) $(1)/etc/uci-defaults
+       $(INSTALL_DATA) \
+               ./files/uci-defaults/x11 \
+               $(1)/etc/uci-defaults/
+endef
+
+define Package/matchbox-window-manager/postinst
+       #!/bin/sh
+       [ -n "$${IPKG_INSTROOT}" ] && exit
+       . /etc/functions.sh
+       uci_apply_defaults
 endef
 
 $(eval $(call BuildPackage,matchbox-window-manager))