blob: eaadd5d595ee2e3b18e5533609e4e59639c474e3 (
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
36
37
|
SECTION = "x11/network"
DESCRIPTION="WiFi Radar is a Python/PyGTK2 utility for managing WiFi profiles."
HOMEPAGE="http://www.bitbuilder.com/wifi_radar/"
LICENSE = "GPL"
FILE_PR = "r2"
PACKAGE_ARCH = "all"
RDEPENDS = "python-core python-pygtk python-re python-io python-pygobject python-pycairo"
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 "*******************************************"
}
|