# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Httpush is an intercepting proxy, allowing user to modify requests on-the-fly" HOMEPAGE="http://httpush.sourceforge.net/" MY_P="${PN}-0.9b11" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~x86" IUSE="" RDEPEND="dev-perl/URI dev-perl/MIME-Base64 dev-perl/libwww-perl dev-perl/Net-SSLeay dev-perl/Crypt-SSLeay dev-perl/HTML-Parser" S=${WORKDIR}/${MY_P} src_install() { dodir /usr/lib/ dodir /usr/bin/ # No compilation needed, only copy files cp -a ${S} ${D}usr/lib/httpush || die # and create a symlink in the /usr/bin dir cd ${D}/usr/bin ln -s ../lib/httpush/httpush.pl ./httpush || die cd ${S} dodoc README ChangeLog LICENSE doc/* }