cdrkit: use newer version from meta-oe
[opendreambox.git] / meta-opendreambox / recipes-multimedia / projectx / projectx_0.90.4.00.b32.bb
1 SUMMARY = "Handle & repair many DVB radio & television stream types."
2 LICENSE = "GPLv2"
3 LIC_FILES_CHKSUM = "file://Copying;md5=f08a446809913fc9b3c718f0eaea0426"
4 SRCDATE = "20090824"
5
6 SRC_URI = "cvs://anonymous@project-x.cvs.sourceforge.net/cvsroot/project-x;module=Project-X;method=pserver \
7            http://dreamboxupdate.com/download/opendreambox/${PN}-${TARGET_ARCH}-bin-20100218-${PV}-${DISTRO_VERSION}-hard.tar.bz2 \
8            file://dreambox-headless.patch \
9            file://Makefile"
10 SRC_URI[md5sum] = "2b53f925d0207b43b50fa98e5b304722"
11 SRC_URI[sha256sum] = "d033e2e56ccbeed57bc44fceb4b7f868abebf990bc0e08739bc3a034b3da891b"
12
13 S = "${WORKDIR}/Project-X"
14
15 do_configure_prepend() {
16         install -m 0644 ${WORKDIR}/Makefile ${S}/src/
17         install -m 0755 ${WORKDIR}/projectx ${S}/src/
18 }
19 do_compile() {
20         export CROSS_COMPILE=${TARGET_PREFIX}
21         export CROSS_LIBDIR="${CROSS_DIR}/${TARGET_SYS}/lib"
22         export GCJ_ARCH=""
23         export JFLAGS="-g0 -O2 -march=mips32 -encoding \"ISO-8859-1\""
24         for gcjarchives in libgcj.a libgij.a; do
25                 if test -e ${CROSS_LIBDIR}/$gcjarchives; then
26                         export GCJ_ARCHIVES="${GCJ_ARCHIVES} ${CROSS_LIBDIR}/$gcjarchives"
27                 fi
28         done
29         if [ -n "${GCJ_ARCHIVES}" ]; then
30                 rm -f projectx
31                 make -C src projectx-static
32         fi
33 }
34 do_install() {
35         install -d ${D}${bindir}
36         install -m 755 ${S}/src/projectx ${D}${bindir}
37 }