summaryrefslogtreecommitdiff
path: root/package/xinit
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2010-06-06 10:45:06 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-06-08 16:29:02 +0200
commit50329ba33d82bc4a38ef96824c60be2fd95c119b (patch)
treeb6dac5786d44b382d6f05be84fcda62800150f3a /package/xinit
parent680b86ab37f49665c5161350e0ad60d3df251f69 (diff)
port xinit and it's dependency mcookie
Diffstat (limited to 'package/xinit')
-rw-r--r--package/xinit/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/xinit/Makefile b/package/xinit/Makefile
new file mode 100644
index 000000000..a5180511a
--- /dev/null
+++ b/package/xinit/Makefile
@@ -0,0 +1,29 @@
+# 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:= xinit
+PKG_VERSION:= 1.2.1
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 7ad82221ebd6600a8d33712ec3b62efb
+PKG_DESCR:= X Window System initializer
+PKG_SECTION:= x11
+PKG_DEPENDS:= xorg-server mcookie
+PKG_BUILDDEP+= xorg-server
+PKG_URL:= http://xorg.freedesktop.org
+PKG_SITES:= http://xorg.freedesktop.org/archive/individual/app/
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,XINIT,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_XINIT)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/{xinit,startx} \
+ $(IDIR_XINIT)/usr/bin/
+ ${INSTALL_DIR} ${IDIR_XINIT}/usr/lib/X11/xinit
+ ${INSTALL_DATA} ${WRKINST}/usr/lib/X11/xinit/xinitrc \
+ ${IDIR_XINIT}/usr/lib/X11/xinit/
+
+include ${TOPDIR}/mk/pkg-bottom.mk