meta-*: use SUMMARY instead of DESCRIPTION where appropriate (max. 80 chars)
[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 PR = "r1"
6
7 SRC_URI = "cvs://anonymous@project-x.cvs.sourceforge.net/cvsroot/project-x;module=Project-X;method=pserver \
8            http://dreamboxupdate.com/download/opendreambox/${PN}-${TARGET_ARCH}-bin-20100218-${PV}-${DISTRO_VERSION}-hard.tar.bz2 \
9            file://dreambox-headless.patch \
10            file://Makefile"
11 SRC_URI[md5sum] = "2b53f925d0207b43b50fa98e5b304722"
12 SRC_URI[sha256sum] = "d033e2e56ccbeed57bc44fceb4b7f868abebf990bc0e08739bc3a034b3da891b"
13
14 S = "${WORKDIR}/Project-X"
15
16 do_configure_prepend() {
17         install -m 0644 ${WORKDIR}/Makefile ${S}/src/
18         install -m 0755 ${WORKDIR}/projectx ${S}/src/
19 }
20 do_compile() {
21         export CROSS_COMPILE=${TARGET_PREFIX}
22         export CROSS_LIBDIR="${CROSS_DIR}/${TARGET_SYS}/lib"
23         export GCJ_ARCH=""
24         export JFLAGS="-g0 -O2 -march=mips32 -encoding \"ISO-8859-1\""
25         for gcjarchives in libgcj.a libgij.a; do
26                 if test -e ${CROSS_LIBDIR}/$gcjarchives; then
27                         export GCJ_ARCHIVES="${GCJ_ARCHIVES} ${CROSS_LIBDIR}/$gcjarchives"
28                 fi
29         done
30         if [ -n "${GCJ_ARCHIVES}" ]; then
31                 rm -f projectx
32                 make -C src projectx-static
33         fi
34 }
35 do_install() {
36         install -d ${D}${bindir}
37         install -m 755 ${S}/src/projectx ${D}${bindir}
38 }