summaryrefslogtreecommitdiff
path: root/recipes/orrery/orrery_2.4.bb
blob: dc5622946e86bd4d9f590930e98bf530ffdd3f0b (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
DESCRIPTION = "orrery"
SECTION = "x11/scientific"
PV = "2.4"

inherit autotools

SRC_URI = "http://projects.openmoko.org/frs/download.php/581/orrery_2.4_clean.tar.gz \
           file://datadir.patch;patch=1 \
           file://Makefile.am.patch;patch=1"
S = "${WORKDIR}/files"

do_install_append() {
		    install -d ${D}${datadir}/applications
		    install -m 0644 ${S}/orrery.desktop ${D}${datadir}/applications
		    install -d ${D}${datadir}/orrery
		    cp -a ${S}/data/* ${D}${datadir}/orrery
		    rm ${D}${datadir}/orrery/icons/orrery.png
		    install -d ${D}${datadir}/icons
		    install ${S}/data/icons/orrery.png ${D}${datadir}/icons
}

FILES_${PN} += "\
	    ${datadir}/applications/orrery.desktop \
	    ${datadir}/orrery \
	    ${datadir}/icons"