/[gentoo-x86]/net-wireless/gkismet/gkismet-0.0.9.ebuild
Gentoo

Contents of /net-wireless/gkismet/gkismet-0.0.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Aug 26 10:19:38 2005 UTC (14 years, 5 months ago) by brix
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Pruned old version.
(Portage version: 2.0.51.22-r2)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-wireless/gkismet/gkismet-0.0.9.ebuild,v 1.4 2005/07/08 09:15:54 brix Exp $
4
5 DESCRIPTION="Gtk perl based Kismet client"
6 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
7 HOMEPAGE="http://gkismet.sourceforge.net"
8 KEYWORDS="x86"
9
10 LICENSE="GPL-2"
11 SLOT="0"
12 IUSE=""
13
14 RDEPEND="dev-perl/gtk-perl"
15 DEPEND="${RDEPEND}
16 sys-apps/sed"
17
18 src_unpack() {
19 unpack ${P}.tar.gz
20
21 # install to /usr
22 sed -i "s:^PREFIX=/usr/local:PREFIX=${D}/usr:" ${S}/Makefile
23
24 # install config files to /etc
25 sed -i "s:^ETC=\$(PREFIX)/etc/gkismet:ETC=${D}/etc/gkismet:" \
26 ${S}/Makefile
27
28 # set correct prefix
29 sed -i "s:!PREFIX!:/usr:" ${S}/gkismet.pl
30
31 # config files are now in /etc/gkismet
32 sed -i "s:\$self->{'path'}{'etc'} = \$prefix . '/etc/gkismet':\$self->{'path'}{'etc'} = '/etc/gkismet':" \
33 ${S}/GKismetApplication.pm
34 }
35
36 src_install () {
37 emake install || die
38
39 dodoc README Changelog
40 }
41
42 pkg_postinst() {
43 einfo ""
44 einfo "If ${PN} complains about not finding Gnome.pm, remerge"
45 einfo "dev-perl/gtk-perl with USE=gnome"
46 einfo ""
47 }

  ViewVC Help
Powered by ViewVC 1.1.20