summaryrefslogtreecommitdiff
path: root/package/xdm/Makefile
blob: 70b0fb235f5a96d833f5c4b21732b82ae18c2d4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		xdm
PKG_VERSION:=		1.1.14
PKG_RELEASE:=		1
PKG_HASH:=		bcc543c3c120094d58d9cc9837958d4303693c2116ba342ba3dd9440137b4026
PKG_DESCR:=		display manager
PKG_SECTION:=		x11/apps
PKG_BUILDDEP:=		pam libXaw
PKG_DEPENDS:=		xconsole pam xsm libxaw
PKG_URL:=		http://xorg.freedesktop.org/
PKG_SITES:=		http://www.x.org/releases/individual/app/

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,XDM,xdm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIGURE_ARGS+=	--with-random-device=/dev/urandom \
			--with-appdefaultdir=/usr/share/X11/app-defaults \
			--with-utmp-file=/dev/null \
			--with-wtmp-file=/dev/null

xdm-install:
	$(INSTALL_DIR) $(IDIR_XDM)/usr/lib/X11
	$(CP) $(WRKINST)/usr/lib/X11/* \
		$(IDIR_XDM)/usr/lib/X11
	$(INSTALL_DIR) $(IDIR_XDM)/usr/share/X11
	$(CP) $(WRKINST)/usr/share/X11/* \
		$(IDIR_XDM)/usr/lib/X11
	$(INSTALL_DIR) $(IDIR_XDM)/usr/bin
	$(INSTALL_BIN) $(WRKINST)/usr/bin/xdm \
		$(IDIR_XDM)/usr/bin

include ${ADK_TOPDIR}/mk/pkg-bottom.mk