# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-dialup/mserver/mserver-0.5.5-r1.ebuild,v 1.2 2003/02/13 13:54:25 vapier Exp $ DESCRIPTION="Daemon that provides control of dial-up links to other PCs on the LAN" HOMEPAGE="http://cpwright.com/mserver/" SRC_URI="http://cpwright.com/mserver/download/c-${P}.tar.gz" S=${WORKDIR}/${P} IUSE="" DEPEND="sys-libs/pam" RDEPEND="net-dialup/ppp" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86" src_compile() { econf \ --sysconfdir=/etc \ --localstatedir=/var emake } src_install() { dosbin mserver/mserver mchat/mchat authgen/authgen checkstat/checkstat doman mchat/mchat.8 dodoc mserver/PROTOCOL README docs/index.html newdoc mchat/README README.mchat docinto images dodoc docs/images/*.gif docs/images/*.jpg #prepalldocs insinto /etc newins mserver/mserver.conf mserver.conf.dist insinto /etc/pam.d doins pam/mserver exeinto /etc/init.d newexe ${FILESDIR}/mserver-init mserver }