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"
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"
17 for i in $
(find $
{S
} -name Makefile.in
) ; do
19 -e s
/cc\
/'$
{CXX
}'\
/g \
21 -e 's
:$
(LDFLAG
):$
(LDFLAG
) $
(LDFLAGS
):g' \
22 -e 's
:$
(CFLAG
):$
(CFLAG
) $
(CFLAGS
):g'\
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"