# $Header: /magellan-cvs/smage/xfs/xfs-1.0.8-r1.smage2,v 1.1 2008/05/29 11:56:26 niro Exp $ PNAME="xfs" PVER="1.0.8" PBUILD="r1" PCATEGORIE="x11-apps" STATE="unstable" DESCRIPTION="X font server." HOMEPAGE="http://xorg.freedesktop.org" sminclude xorg DEPEND=">= x11-libs/libFS-1 >= x11-libs/libXfont-1" SDEPEND=">= x11-proto/fontsproto-1" # xfs daemon disabled atm # SRC_URI=( # mirror://${PNAME}/${SRCFILE} # mirror://${PNAME}/xfs.config # mirror://${PNAME}/xfs.conf.d # mirror://${PNAME}/xfs.start # ) src_unpack() { munpack ${SRCFILE} || die cd ${SRCDIR} # fix config directory sed -i "s:^configdir =.*:configdir = \$(sysconfdir)/X11/fs:g" Makefile.am || die autoreconf -v --force --install || die } src_compile() { cd ${SRCDIR} xorg_src_configure --libdir=/etc --enable-ipv6 || die mmake || die } # src_install() { # xorg_src_install || die # # # xfs configs and rc-scripts # install -d ${BINDIR}/etc/{conf.d,rc.d/init.d,X11/fs} || die # # install -m 0644 ${SOURCEDIR}/${PNAME}/xfs.config \ # ${BINDIR}/etc/X11/fs/config || die # # install -m 0644 ${SOURCEDIR}/${PNAME}/xfs.conf.d \ # ${BINDIR}/etc/conf.d/xfs || die # # install -m 0755 -o root -g root \ # ${SOURCEDIR}/${PNAME}/xfs.start \ # ${BINDIR}/etc/rc.d/init.d/xfs || die # } # # preinstall() { # ${MLIBDIR}/mgroupadd -o "-g 33" xfs # ${MLIBDIR}/museradd -o "-u 33 -g xfs -d /etc/X11/fs -s /bin/false" xfs # }