# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Freenet6 client for IPv6 connectivity" HOMEPAGE="http://www.freenet6.net/" SRC_URI="http://ticpu.net:8080/~jerome/TSP_Client_4.1_Sources.1src.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="" RDEPEND="${DEPEND}" S="${WORKDIR}/tspc-advanced" src_compile() { emake all target=linux || die "Make failed" } src_install() { emake install target=linux installdir=${D}/usr || die "Make install failed" cd ${D} sed -i \ -e 's:^.\?tsp_dir=.*:tsp_dir=/etc/tspc:g' \ -e 's:^.\?log=.*:log=file;1:g' \ -e 's:^.\?log_filename=.*:log_filename=/var/log/tspc.log:g' \ usr/bin/tspc.conf* mkdir -p etc/tspc usr/share usr/sbin rm usr/template/README mv usr/template etc/tspc/ mv usr/man usr/share/ mv usr/bin/tspc.conf* etc/tspc/ mv usr/bin/tspc usr/sbin/ rmdir usr/bin exeinto /etc/init.d newexe ${FILESDIR}/tspc.rc-4.1 tspc chown -R root:root etc/tspc chmod -R u=rwX,g=,o= etc/tspc prepall } #src_install() { # dosbin bin/tspc # # insinto /etc # newins bin/tspc.conf.sample tspc.conf #}