# $Header: /magellan-cvs/smage/xinit/xinit-1.1.0-r1.smage2,v 1.2 2008/07/31 17:46:24 niro Exp $ PNAME="xinit" PVER="1.1.0" PBUILD="r1" PCATEGORIE="x11-apps" STATE="unstable" DESCRIPTION="X Window System initializer." HOMEPAGE="http://xorg.freedesktop.org" sminclude xorg mtools DEPEND=">= x11-libs/libX11-1 >= x11-wm/twm-1 >= x11-apps/xclock-1 >= x11-apps/xrdb-1 >= x11-terms/xterm-1 >= sys-libs/pam-0.99" # cvs revisions XDM_RC=xdm.rc-1.2 XDM_START=startxdm-1.2 XSERVER_PAMD=xserver.pamd-1.2 SRC_URI=( ${SRC_URI[*]} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${XSERVER_PAMD} mirror://${PNAME}/${XDM_RC} mirror://${PNAME}/${XDM_START} mirror://${PNAME}/${PNAME}-1.0.9-nolisten-tcp.patch mirror://${PNAME}/${PNAME}-1.0.9-black-bg.patch ) src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # enable --no-listen tcp mpatch ${PNAME}-1.0.9-nolisten-tcp.patch || die # use a black background mpatch ${PNAME}-1.0.9-black-bg.patch || die # fix xinit config dir sed -i "s:^XINITDIR.*:XINITDIR = \$(sysconfdir)/X11/xinit:g" Makefile.am || die autoreconf -v --force --install || die } src_install() { xorg_src_install || die # pam configs minstallpam ${XSERVER_PAMD} xserver || die # rc-scripts minstallrc ${XDM_RC} xdm || die minstalldir /etc/X11 || die minstallexec -s ${XDM_START} /etc/X11/startxdm || die }