libdmx: Add fso-specs to DEPENDS
[openembedded.git] / recipes / opencv / artoolkit_2.72.1.bb
blob7000a7c04a0a8c7ed1dca260549b3b6f835d5f0d
1 DESCRIPTION = "ARToolKit is a software library that allows for the creation of augmented reality applications. "
2 LICENSE = "GPL/ARToolkit"
4 DEPENDS = "libxi gstreamer virtual/libx11 freeglut virtual/libgl"
6 PR = "r1"
8 SRC_URI = "${SOURCEFORGE_MIRROR}/artoolkit/ARToolKit-${PV}.tgz \
9 file://configure.diff;patch=1 \
10 file://paddle.diff;patch=1 "
12 S = "${WORKDIR}/ARToolKit"
14 LDFLAGS_append = " `pkg-config --libs gstreamer-0.10` -lpthread -lglut -lGLU -lGL -lXi -lX11 -lm"
16 do_configure() {
17 for i in $(find ${S} -name Makefile.in) ; do
18 sed -i -e /^CC/d \
19 -e s/cc\ /'${CXX}'\ /g \
20 -e s/ar\ /${AR}\ /g \
21 -e 's:$(LDFLAG):$(LDFLAG) $(LDFLAGS):g' \
22 -e 's:$(CFLAG):$(CFLAG) $(CFLAGS):g'\
24 done
25 ./Configure << EOF
29 EOF
32 export CC
34 do_compile() {
35 oe_runmake
38 do_install() {
39 install -d ${D}/${bindir}
40 install -m 0755 ${S}/bin/[a-z]* ${D}/${bindir}
42 install -d ${D}/${datadir}/ARToolKit
43 cp -pPr ${S}/bin/{Data,Wrl} ${D}/${datadir}/ARToolKit/
45 install -d ${D}${libdir}
46 install -m 0644 ${S}/lib/*.a ${D}${libdir}
49 FILES_${PN} += "${datadir}/ARToolKit"
55 SRC_URI[md5sum] = "4328b512711529309bad4bd1d791952c"
56 SRC_URI[sha256sum] = "1a49a67c6e196b0e9990e90255ce840287ac47b5a53371a68a6dd93a5425d259"