remove old XOrg Makefiles
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9026 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -1,50 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2007 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# blogic@openwrt.org
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=xterm
|
||||
PKG_VERSION:=223
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
|
||||
PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.2/src/extras/
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/xterm
|
||||
SECTION:=xorg-extra
|
||||
CATEGORY:=Xorg
|
||||
SUBMENU:=app
|
||||
TITLE:=xterm
|
||||
DEPENDS:=+xorg-server-X11R7.2-essentials +libncurses @TARGET_x86
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
sed -e "s%/usr/contrib/X11R6%${STAGING_DIR}/usr/lib%g" -i $(PKG_BUILD_DIR)/configure
|
||||
cd $(PKG_BUILD_DIR)/; $(TARGET_CONFIGURE_OPTS) $(CONFIGURE_VARS) \
|
||||
$(CONFIGURE_CMD) \
|
||||
$(CONFIGURE_ARGS_XTRA) \
|
||||
$(CONFIGURE_ARGS) \
|
||||
--host=$(GNU_TARGET_NAME) \
|
||||
--x-includes=$(STAGING_DIR)/usr/include/ \
|
||||
--x-libraries=$(STAGING_DIR)/usr/lib/ \
|
||||
LIBS="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib"
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(MAKE) -C $(PKG_BUILD_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
|
||||
endef
|
||||
|
||||
define Package/xterm/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,xterm))
|
@ -1,12 +0,0 @@
|
||||
diff -urN xterm-223.orig/Makefile.in xterm-223/Makefile.in
|
||||
--- xterm-223.orig/Makefile.in 2007-09-17 11:56:45.000000000 +0200
|
||||
+++ xterm-223/Makefile.in 2007-09-17 11:57:33.000000000 +0200
|
||||
@@ -150,7 +150,7 @@
|
||||
@MAY_SETUID@ $(SHELL) $(srcdir)/sinstall.sh @SINSTALL_OPTS@ "$(INSTALL_PROGRAM)" xterm$x @XTERM_PATH@ $(BINDIR)/$(binary_xterm)
|
||||
@NOT_SETUID@ $(INSTALL_PROGRAM) xterm$x $(BINDIR)/$(binary_xterm)
|
||||
$(INSTALL_PROGRAM) -m 755 resize$x $(BINDIR)/$(binary_resize)
|
||||
- @$(SHELL) -c 'echo "... installing $(BINDIR)/$(binary_uxterm)"; \
|
||||
+# @$(SHELL) -c 'echo "... installing $(BINDIR)/$(binary_uxterm)"; \
|
||||
if test "$(binary_xterm)" != "xterm"; then \
|
||||
name="$(binary_xterm)"; \
|
||||
sed -e "s,=xterm,=$$name," $(srcdir)/uxterm >uxterm.tmp; \
|
Reference in New Issue
Block a user