fso-sounds: add fso-sounds-extras package with all remaining sounds and RSUGGEST it
[openembedded.git] / recipes / ltp / ltp_20090131.bb
blob5494c041dd28eb4182dabb1d0e65c59d7fb20c19
1 DESCRIPTION = "Linux Test Project"
2 HOMEPAGE = "http://ltp.sourceforge.net"
3 LICENSE = "GPL"
4 SECTION = "console/utils"
5 DEPENDS = "zip-native"
6 PR = "r4"
8 inherit autotools
10 SRC_URI = "${SOURCEFORGE_MIRROR}/ltp/ltp-full-${PV}.tgz \
11 file://cross-compile.patch \
12 file://runltp-path.patch \
13 file://fix-tcore_patch_test_suites.patch \
14 file://no-IDcheck.patch \
15 file://no_hyperthreading_tests.patch \
16 file://syscalls.patch"
18 SRC_URI_append_mips += "file://no_epoll_create2.patch"
19 SRC_URI_append_mipsel += "file://no_epoll_create2.patch"
20 SRC_URI_append_arm += "file://no_epoll_create2.patch"
21 SRC_URI_append_armeb += "file://no_epoll_create2.patch"
23 S = "${WORKDIR}/ltp-full-${PV}"
25 EXTRA_OEMAKE_append = " CROSS_COMPILE=${HOST_PREFIX}"
27 FILES_${PN}-dbg = "${libexecdir}/ltp/*/*/*/*/*/*/*/*/*/.debug"
28 FILES_${PN}-dbg += "${libexecdir}/ltp/*/*/*/*/*/*/*/*/.debug"
29 FILES_${PN}-dbg += "${libexecdir}/ltp/*/*/*/*/*/*/*/.debug"
30 FILES_${PN}-dbg += "${libexecdir}/ltp/*/*/*/*/*/*/.debug"
31 FILES_${PN}-dbg += "${libexecdir}/ltp/*/*/*/*/*/.debug"
32 FILES_${PN}-dbg += "${libexecdir}/ltp/*/*/*/*/.debug"
33 FILES_${PN}-dbg += "${libexecdir}/ltp/*/*/*/.debug"
34 FILES_${PN}-dbg += "${libexecdir}/ltp/*/*/.debug"
35 FILES_${PN}-dbg += "${libexecdir}/ltp/*/.debug"
37 TARGET_CC_ARCH += "${LDFLAGS}"
39 do_compile(){
40 oe_runmake CROSS_COMPILE=${HOST_PREFIX}
43 do_install(){
44 export CREATE=0
45 export LTPROOT=${D}/usr/libexec/ltp/testcases
47 oe_runmake DESTDIR=${D} PREFIX=/usr/libexec/ltp install
49 install -d ${D}/usr/libexec/ltp/testcases
50 install -d ${D}/usr/libexec/ltp/pan
52 #install testcases
53 #install -m 0755 ${WORKDIR}/testcases ${D}/usr/libexec/ltp/testcases
54 #install -m 0755 ${WORKDIR}/testcases ${D}/usr/libexec/ltp/
56 # treecopy testcases pan/pan runtest ver_linux IDcheck.sh \
57 # ${D}/usr/libexec/ltp
58 cp testcases ${D}/usr/libexec/ltp/ -rfp
59 rm ${D}/usr/libexec/ltp/testcases/ballista -rf
60 cp pan/pan ${D}/usr/libexec/ltp/pan -p
61 cp runtest ${D}/usr/libexec/ltp/ -rfp
62 cp ver_linux ${D}/usr/libexec/ltp/ -p
63 cp runltp ${D}/usr/libexec/ltp/ -p
64 cp IDcheck.sh ${D}/usr/libexec/ltp/ -p
66 # We don't want "devel" stuff
67 rm -rf ${D}/opt/ltp/include
68 rm ${D}/usr/libexec/ltp/share/pkgconfig/ltp.pc
72 SRC_URI[md5sum] = "397b376dd659459e4a431474b42263a8"
73 SRC_URI[sha256sum] = "5fa4353d826b719cc313e370dd8f4ab0793432e4d797a96cb5bb01e078ff1e10"