blob: 70e913e086dc5af3e10a95bf17dadd2aab7d8ccb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
SECTION = "x11/network"
DESCRIPTION="WiFi Radar is a Python/PyGTK2 utility for managing WiFi profiles."
HOMEPAGE="http://www.bitbuilder.com/wifi_radar/"
LICENSE = "GPL"
PACKAGE_ARCH = "all"
RDEPENDS = "python-core python-pygtk2 python-re python-io"
SRC_URI="http://wifi-radar.systemimager.org/pub/${PN}-${PV}.tar.bz2 \
file://wifi-radar.patch;patch=1 \
file://wifi-radar_destktop.patch;patch=1 "
S = "${WORKDIR}/${PN}-${PV}"
do_install() {
oe_runmake sbindir=${D}${sbindir} initdir=${D}${sysconfdir}/init.d sysconfdir=${D}${sysconfdir} mandir=${D}${mandir} pixmapsdir=${D}${datadir}/pixmaps appsdir=${D}${datadir}/applications install
#sbindir = /usr/sbin
#initdir = /etc/init.d
#sysconfdir = /etc/wifi-radar
#mandir = /usr/share/man
#pixmapsdir = /usr/share/pixmaps
#appsdir = /usr/share/applications
}
pkg_postinst() {
#!/bin/sh
# post installation script
echo "*******************************************"
echo "Please edit /etc/wifi-radar.conf"
echo "to match your wifi card name (wlan0, eth0, ...)"
echo "*******************************************"
}
|