summaryrefslogtreecommitdiff
path: root/package/xdm
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2012-03-27 16:22:28 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2012-03-27 16:22:28 +0200
commit985c6880d9fa4e92aaa5a34670835e4a68d10e9d (patch)
tree7c4db897aaec94a6ac4940dc8df076ef61168346 /package/xdm
parent96e8fdce932ab8c34df87e6cea8d9e589e3535a0 (diff)
add package xdm
Diffstat (limited to 'package/xdm')
-rw-r--r--package/xdm/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/package/xdm/Makefile b/package/xdm/Makefile
new file mode 100644
index 000000000..2a1a38571
--- /dev/null
+++ b/package/xdm/Makefile
@@ -0,0 +1,34 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= xdm
+PKG_VERSION:= 1.1.11
+PKG_RELEASE:= 1
+PKG_MD5SUM:= aaf8c3d05d4a1e689d2d789c99a6023c
+PKG_DESCR:= X display manager
+PKG_SECTION:= x11/apps
+PKG_URL:= http://xorg.freedesktop.org/
+PKG_SITES:= ${MASTER_SITE_XORG}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,XDM,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIGURE_ARGS+= --with-random-device=/dev/urandom \
+ --with-utmp-file=/dev/null \
+ --with-wtmp-file=/dev/null
+
+post-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 ${TOPDIR}/mk/pkg-bottom.mk