blob: 557c4a1096b164c3c3ec7aae2b17ff238f36b8a1 (
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
|
require roadmap.inc
DEPENDS = "expat gtk+"
PV = "1.0.12+cvs${SRCDATE}"
PR = "r1"
SRC_URI = "cvs://anonymous:@roadmap.cvs.sf.net/cvsroot/roadmap;module=roadmap \
file://cross.patch;patch=1;pnum=2 \
http://roadmap.digitalomaha.net/maps/usdir.rdm.tgz \
"
S = "${WORKDIR}/roadmap/src"
CFLAGS += " -I${S} "
do_compile() {
oe_runmake
oe_runmake gtk2
}
do_install() {
install -d ${D}${bindir}
install -d ${D}${datadir}/applications
install -d ${D}${datadir}/pixmaps
install -d ${D}${datadir}/roadmap
install -m 0755 gtk2/gtkroad* ${D}${bindir}
install -m 0644 icons/*png ${D}${datadir}/pixmaps
install -m 0644 sprites preferences ${D}${datadir}/roadmap
install -m 0644 ${WORKDIR}/usdir.rdm ${D}${datadir}/roadmap/
}
FILES_${PN} += "${datadir}/roadmap"
|