2008-12-01 23:07:01 +00:00
|
|
|
#
|
2010-02-19 00:14:01 +00:00
|
|
|
# Copyright (C) 2007-2010 OpenWrt.org
|
2007-09-25 20:23:15 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
2008-12-01 23:07:01 +00:00
|
|
|
# blogic@openwrt.org
|
2007-09-25 20:23:15 +00:00
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=xdm
|
2009-05-30 16:47:58 +00:00
|
|
|
PKG_VERSION:=1.1.8
|
2010-02-19 00:14:01 +00:00
|
|
|
PKG_RELEASE:=2
|
|
|
|
|
2009-05-30 16:47:58 +00:00
|
|
|
PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/individual/app
|
2007-09-25 20:23:15 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
2008-11-16 19:31:42 +00:00
|
|
|
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
|
2010-02-19 01:20:44 +00:00
|
|
|
PKG_MD5SUM:=cc1816bc62a3722ad509373b0b7f30fe
|
2007-09-25 20:23:15 +00:00
|
|
|
|
2010-02-19 00:14:01 +00:00
|
|
|
PKG_FIXUP:=libtool
|
2009-05-30 16:47:58 +00:00
|
|
|
PKG_INSTALL:=1
|
|
|
|
|
2007-09-25 20:23:15 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/xdm
|
|
|
|
SECTION:=xorg-app
|
|
|
|
CATEGORY:=Xorg
|
|
|
|
SUBMENU:=app
|
2009-05-21 19:25:18 +00:00
|
|
|
DEPENDS:=+libX11 +libXmu +libXau +libXaw
|
2007-09-25 20:23:15 +00:00
|
|
|
TITLE:=xdm
|
|
|
|
URL:=http://xorg.freedesktop.org/
|
|
|
|
endef
|
|
|
|
|
2009-05-30 16:47:58 +00:00
|
|
|
TARGET_LDFLAGS+=\
|
|
|
|
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
|
|
|
|
-Wl,-rpath=/usr/lib
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
$(call Build/Configure/Default, \
|
|
|
|
--without-pam \
|
|
|
|
--with-random-device=/dev/urandom \
|
|
|
|
--disable-dynamic-greeter \
|
|
|
|
--disable-xprint \
|
|
|
|
)
|
2007-09-25 20:23:15 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/xdm/install
|
2009-05-30 16:47:58 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/{bin,lib/X11/xdm,share/X11/app-defaults}
|
|
|
|
$(INSTALL_BIN) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/bin/* \
|
|
|
|
$(1)/usr/bin/
|
|
|
|
$(CP) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/lib/X11/xdm/{X*,chooser,GiveConsole,TakeConsole,xdm-config,pixmaps} \
|
|
|
|
$(1)/usr/lib/X11/xdm/
|
|
|
|
$(INSTALL_DATA) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/share/X11/app-defaults/* \
|
|
|
|
$(1)/usr/share/X11/app-defaults/
|
2007-09-25 20:23:15 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,xdm))
|