# $Id$ PNAME="xinit" PVER="1.4.0" PBUILD="r1" PCAT="x11-apps" DESCRIPTION="X Window System initializer." HOMEPAGE="http://xorg.freedesktop.org" DEPEND=">= x11-libs/libX11-1.4 >= x11-wm/twm-1 >= x11-apps/xclock-1 >= x11-apps/xrdb-1 >= x11-apps/xsm-1 >= x11-terms/xterm-1 >= sys-libs/pam-1.1" sminclude xorg mtools # xinitrc rev RC_REV=1.2 SRC_URI=( ${SRC_URI[*]} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/xserver.pamd-systemauth mirror://${PNAME}/xinitrc.skel-${RC_REV} mirror://${PNAME}/${PNAME}-1.4.0-nolisten-tcp-2.patch mirror://${PNAME}/${PNAME}-1.0.9-black-bg.patch ) src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # enable --no-listen tcp mpatch ${PNAME}-1.4.0-nolisten-tcp-2.patch || die # use a black background mpatch ${PNAME}-1.0.9-black-bg.patch || die } src_compile() { xorg_src_configure --with-xinitdir=/etc/X11/xinit || die mmake || die } src_install() { xorg_src_install || die # pam configs minstallpam xserver.pamd-systemauth xserver || die # .xinitrc skel minstalldir /etc/skel || die minstallfile -s xinitrc.skel-${RC_REV} /etc/skel/.xinitrc || die }