From 42af9405ab767c5197bb686c420afc0786e1f894 Mon Sep 17 00:00:00 2001 From: blogic Date: Fri, 21 Sep 2007 00:16:23 +0000 Subject: [PATCH] small changes to the way Xorg apps are installed git-svn-id: svn://svn.openwrt.org/openwrt/packages@8897 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- XOrg/app/common.mk | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/XOrg/app/common.mk b/XOrg/app/common.mk index a5e4d0db2..1c98b1425 100644 --- a/XOrg/app/common.mk +++ b/XOrg/app/common.mk @@ -35,9 +35,16 @@ define Build/Configure ) endef -define Package/${PKG_NAME}/install +define xinit-X11R7.2/install + rm -rf $(1)/usr + $(INSTALL_DIR) $(1)/usr/bin + $(CP) $(PKG_INSTALL_DIR)/usr/bin/xinit $(1)/usr/bin/xinit + cd $(1)/usr/bin/; ln -s xinit startx +endef + +define Package/$(PKG_NAME)/install $(INSTALL_DIR) $(1) $(CP) $(PKG_INSTALL_DIR)/* $(1) rm -rf $(1)/usr/man/ + $(call $(PKG_NAME)/install,$(1)) endef -