aab03d67f6b9d448690c24369dc2452cb0caaef6
[vuplus_openembedded] / sharp-binary-only / sharp-aticore.oe
1 DESCRIPTION = "Driver for the Ati W100 found on the Sharp Zaurus C[87]x0"
2 SECTION = "base"
3 PRIORITY = "optional"
4 LICENSE = "CLOSED"
5 PR = "r0"
6
7 SRC_URI = "http://www.mithis.com/zaurus/AtiCore.${TARGET_FPU}.tar.bz2"
8 S = "${WORKDIR}/AtiCore"
9
10 FILES_${PN}="/usr/lib/*.so* /usr/bin/*"
11           
12 # And include it in the dev package
13 FILES_${PN}-dev += " /usr/include"
14
15 do_make() {
16         make
17 }
18
19 do_install() {
20         install -d ${D}/${bindir}
21         install -m 0755 testcore ${D}/${bindir}/testcore
22         install -m 0755 atitest ${D}/${bindir}/atitest
23         
24         install -d ${D}/${libdir}
25         install -m 0755 libaticore.so ${D}/${libdir}/libaticore.so
26         
27         install -d ${D}/${includedir}
28         install -m 0644 aticore.h ${D}/${includedir}/aticore.h
29
30         cd ${D}/${libdir}/
31         ln -s libaticore.so libaticore.so.1
32         ln -s libaticore.so libaticore.so.1.0
33 }
34
35 do_stage() {
36         install -m 0644 aticore.h ${STAGING_INCDIR}
37         oe_libinstall -so libaticore ${STAGING_LIBDIR}
38 }       
39