xterm should not be in /bin
[openwrt/svn-archive/archive.git] / XOrg / app / xterm-233 / Makefile
index cb640bbbe922ea00af90904b7e5f222fe5af64e5..356e3e2204018aef03058df8d68f3df70da60e2a 100644 (file)
@@ -22,7 +22,7 @@ define Package/xterm
   CATEGORY:=Xorg
   SUBMENU:=terminals
   TITLE:=xterm
-  DEPENDS:=+xorg-server-essentials +libncurses @TARGET_x86
+  DEPENDS:=+xorg-server-essentials +libncurses @DISPLAY_SUPPORT
 endef
 
 define Build/Configure
@@ -43,8 +43,9 @@ define Build/Compile
 endef
 
 define Package/xterm/install
-       $(INSTALL_DIR) $(1)/usr/lib
-       $(CP) $(PKG_INSTALL_DIR)/* $(1)/
+       $(INSTALL_DIR) $(1)/usr/
+       $(CP) $(PKG_INSTALL_DIR)/usr/bin $(1)/usr/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib $(1)/usr/
 endef
 
 $(eval $(call BuildPackage,xterm))