# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-p2p/phxd/phxd-0.1.0_pre23092005.ebuild,v 1.8 2014/01/08 06:30:17 vapier Exp $ inherit eutils user DESCRIPTION="Next generation Hotline server in python. kang's branch." HOMEPAGE="http://www.avaraline.net" SRC_URI="mirror://gentoo/phxd-0.1.0_pre23092005.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~ppc ~x86" IUSE="" DEPEND="dev-python/twisted-core dev-python/twisted-web" RDEPEND="" pkg_postinst() { enewgroup phxd enewuser phxd -1 /bin/bash /var/phxd phxd chown phxd:phxd /var/phxd/files chown phxd:phxd /var/phxd/chatlogs } src_install() { cd "${WORKDIR}" cd phxd doenvd "${FILESDIR}"/80phxd dodoc INSTALL README README-kang dodir /var/phxd exeinto /var/phxd; doexe phxd cpdirs="support shared server client" for i in $cpdirs; do cp -R $i "${D}"/var/phxd done dodir /var/phxd/files dodir /var/phxd/chatlogs keepdir /var/phxd/files keepdir /var/phxd/chatlogs keepdir /var/phxd insinto /var/phxd; doins config.py }