mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-21 14:03:29 +00:00
Changes: - rename SUMMARY with length > 80 to DESCRIPTION - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
40 lines
1.4 KiB
BlitzBasic
40 lines
1.4 KiB
BlitzBasic
SUMMARY = "Opencv : The Open Computer Vision Library"
|
|
HOMEPAGE = "http://opencv.willowgarage.com/wiki/"
|
|
SECTION = "libs"
|
|
LICENSE = "BSD"
|
|
|
|
DEPENDS = "opencv"
|
|
|
|
LIC_FILES_CHKSUM = "file://include/opencv2/opencv.hpp;endline=41;md5=6d690d8488a6fca7a2c192932466bb14 \
|
|
"
|
|
SRCREV = "6fae07ba8867b8fd2c53344a774aab669afa7c5e"
|
|
SRC_URI = "git://github.com/Itseez/opencv.git;branch=2.4 \
|
|
"
|
|
PV = "2.4.3+git${SRCPV}"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
do_install() {
|
|
cd samples/c
|
|
install -d ${D}/${bindir}
|
|
install -d ${D}/${datadir}/opencv/samples
|
|
|
|
cp * ${D}/${datadir}/opencv/samples || true
|
|
|
|
for i in *.c; do
|
|
echo "compiling $i"
|
|
${CXX} ${CFLAGS} ${LDFLAGS} -ggdb `pkg-config --cflags opencv` -o `basename $i .c` $i `pkg-config --libs opencv` || true
|
|
install -m 0755 `basename $i .c` ${D}/${bindir} || true
|
|
rm ${D}/${datadir}/opencv/samples/`basename $i .c` || true
|
|
done
|
|
for i in *.cpp; do
|
|
echo "compiling $i"
|
|
${CXX} ${CFLAGS} ${LDFLAGS} -ggdb `pkg-config --cflags opencv` -o `basename $i .cpp` $i `pkg-config --libs opencv` || true
|
|
install -m 0755 `basename $i .cpp` ${D}/${bindir} || true
|
|
rm ${D}/${datadir}/opencv/samples/`basename $i .cpp` || true
|
|
done
|
|
}
|
|
|
|
FILES_${PN}-dev += "${datadir}/opencv/samples/*.c* ${datadir}/opencv/samples/*.vcp* ${datadir}/opencv/samples/build*"
|
|
FILES_${PN} += "${bindir} ${datadir}/opencv"
|