# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="GTK/Perl wireless discovery, penetration, and auditing tool" HOMEPAGE="http://www.remote-exploit.org/" SRC_URI="mirror://sourceforge/wellenreiter/${PN/w/W}-v16.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" DEPEND=">=dev-perl/Net-Pcap-0.04 >=dev-perl/gtk-perl-0.7008-r9 sys-apps/pcmcia-cs >=net-libs/libpcap-0.7.1 >=net-analyzer/tcpdump-3.7.1" S=${WORKDIR}/Wellenreiter-v16 src_install() { # We put the perl scripts into /usr/share/${PN} so they are # accessible by all, even though wellenreiter.pl is only ever # run by root. insinto /usr/share/${P} doins config.pl insinto /usr/bin/ doins Wellenreiter.pl fperms 744 /usr/bin/Wellenreiter.pl /usr/share/${P}/config.pl mkdir ${D}/usr/share/${P}/sounds cp ${S}/sounds/* ${D}/usr/share/${P}/sounds dodoc README TODO cd ${S}/docs dodoc {FAQ,UPDATE,ipaq-how_en.txt,example-savefile} for doc in CISCO IPAQ LUCENTorHERMES PRISM2; do dodoc README.LINUX.$doc done } pkg_postinst() { einfo "To use Wellenreiter.pl, you first need to run the" einfo "config.pl script in /usr/share/${P}." }