# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-im/simpserver-bin/simpserver-bin-0.9.ebuild,v 1.6 2008/11/02 05:45:21 jmbsvicetto Exp $ MY_PN=${PN/-bin/} MY_P="${MY_PN}-${PV}" DESCRIPTION="SimpServer for Unix: IM instant security transparent proxy" SRC_URI="http://www.secway.fr/resources/setup/simpserver/${MY_P}-linux-x86.tgz" HOMEPAGE="http://www.secway.com/" LICENSE="simpserver-test" KEYWORDS="-* ~x86" IUSE="" SLOT="0" S=${WORKDIR}/simp src_compile() { einfo "Binary distribution. No compilation required." } src_install () { dodoc LICENSE README doc/CONFIG doc/TODO exeinto /opt/bin doexe bin/${MY_PN} insinto /etc doins etc/simp.conf newinitd "${FILESDIR}/${MY_PN}".rc ${MY_PN} } pkg_postinst() { elog "Please edit the configuration file: /etc/simp.conf." }